docs: public static ScanMetrics runJob(Configuration conf, String confRootField,
                                       org.apache.hadoop.conf.Configuration hadoopConf,
                                       Class<? extends InputFormat> inputFormat, String jobName,
                                       Class<? extends Mapper> mapperClass)
              throws IOException, InterruptedException, ClassNotFoundException {
  
          Preconditions.checkArgument(null != hadoopConf);
          Preconditions.checkArgument(null != inputFormat);
  
          if (null != conf) {
              Preconditions.checkArgument(null != confRootField,
                      "Configuration root field must be provided when configuration instance is provided");
          }
  
          ModifiableHadoopConfiguration scanConf =
                  ModifiableHadoopConfiguration.of(TitanHadoopConfiguration.MAPRED_NS, hadoopConf);
  
          if (null != confRootField) {
              // Set the scanjob configuration root
              scanConf.set(TitanHadoopConfiguration.SCAN_JOB_CONFIG_ROOT, confRootField);
  
              // Instantiate scanjob configuration root
              ConfigNamespace confRoot = HadoopScanMapper.getJobRoot(confRootField);
  
              // Create writable view of scanjob configuration atop the Hadoop Configuration instance, where all keys are prefixed with SCAN_JOB_CONFIG_KEYS
              ModifiableConfiguration hadoopJobConf = ModifiableHadoopConfiguration.prefixView(confRoot,
                      TitanHadoopConfiguration.SCAN_JOB_CONFIG_KEYS, scanConf);
  
              // Copy scanjob settings from the Titan Configuration instance to the Hadoop Configuration instance
              Map<String, Object> jobConfMap = conf.getSubset(confRoot);
              for (Map.Entry<String, Object> jobConfEntry : jobConfMap.entrySet()) {
                  hadoopJobConf.set((ConfigOption) ConfigElement.parse(confRoot, jobConfEntry.getKey()).element, jobConfEntry.getValue());
              }
          }
  
          return runJob(scanConf.getHadoopConfiguration(), inputFormat, jobName, mapperClass);
      }