context.write(value, NullWritable.get());
}
});
job.setOutput(new Path(output), new HadoopOutputFormat(TextOutputFormat.class), Text.class, NullWritable.class);
job.addInput(new Path(input), new HadoopInputFormat(TextInputFormat.class));
job.createJob().waitForCompletion(true);
return 1;
}
public static void main(String[] args) throws Exception {