code: private void setConfiguration(SimpleJob job,
                                    String[] labels,
                                    String separator,
                                    boolean formatIgnored,
                                    boolean regex) {
          Configuration conf = job.getConfiguration();
          conf.setInt(SimpleJob.READER_TYPE, SimpleJob.SIMPLE_READER);
          if (labels != null) {
              conf.setStrings(SimpleJob.LABELS, labels);
              conf.setInt(SimpleJob.READER_TYPE, SimpleJob.LABELS_READER);
          }
  
          if (separator != null) {
              conf.set(SimpleJob.SEPARATOR, separator);
          }
  
          if (regex) {
              conf.setBoolean(SimpleJob.SEPARATOR_REGEX, true);
          }
  
          job.setPathUtils(pathUtils);
          if (pathUtils instanceof HDFSUtils) {
              conf.setInt(SimpleJob.CLUSTER_TYPE, SimpleJob.CLUSTER_TYPE_ONPREMISE);
          } else if(pathUtils instanceof S3Utils) {
              conf.setInt(SimpleJob.CLUSTER_TYPE, SimpleJob.CLUSTER_TYPE_AWS);
              S3Utils u = (S3Utils) pathUtils;
              conf.set(SimpleJob.AWS_ACCESS_KEY, u.getAccessKey());
              conf.set(SimpleJob.AWS_SECRET_KEY, u.getSecretKey());
  
              if (sequencalJobChain.isEmpty()) {
                  FileInputFormat.setMinInputSplitSize(job, 134217728);
                  FileInputFormat.setMaxInputSplitSize(job, 134217728);
              }
          } else if(pathUtils instanceof LocalPathUtils) {
              conf.setInt(SimpleJob.CLUSTER_TYPE, SimpleJob.CLUSTER_TYPE_LOCAL);
          }
  
          job.setJarByClass(SimpleJobTool.class);
          job.setFormatIgnored(formatIgnored);
      }
docs: setting configure
  @param job new {@link SimpleJob}
  @param labels label of input data
  @param separator separator of data
  @param formatIgnored
  If true, {@link DataFormatException} will be throw if there is a format error.
  If false is ignored (default).
  @param regex If true, value is regex