Пример #1
0
 /**
  * Initializes the reduce-part of the job with the appropriate output settings
  *
  * @param job The job
  * @param tableName The table to insert data into
  * @param fieldCount the number of fields in the table.
  */
 public static void setOutput(JobConf job, String tableName, int fieldCount) {
   DBConfiguration dbConf = setOutput(job, tableName);
   dbConf.setOutputFieldCount(fieldCount);
 }