예제 #1
0
 /**
  * Fill TO config with specific storage and output type.
  *
  * @param job MJob object to fill
  * @param output Output type that should be set
  */
 protected void fillHdfsToConfig(MJob job, ToFormat output) {
   MConfigList toConfig = job.getToJobConfig();
   toConfig.getEnumInput("toJobConfig.outputFormat").setValue(output);
   toConfig.getStringInput("toJobConfig.outputDirectory").setValue(getMapreduceDirectory());
 }