/ Published in: Bash
The Hadoop command guide:
http://hadoop.apache.org/common/docs/current/commands_manual.html#job
does not specify the "job-file" format for the hadoop job submit, here's an example of such.
http://hadoop.apache.org/common/docs/current/commands_manual.html#job
does not specify the "job-file" format for the hadoop job submit, here's an example of such.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mapred.input.dir=data/file1.txt mapred.output.dir=output mapred.job.name=wordcount mapred.mapper.class=edu.uci.ics.hyracks.examples.wordcount.WordCount$Map mapred.combiner.class=edu.uci.ics.hyracks.examples.wordcount.WordCount$Reduce mapred.reducer.class=edu.uci.ics.hyracks.examples.wordcount.WordCount$Reduce mapred.input.format.class=org.apache.hadoop.mapred.TextInputFormat mapred.output.format.class=org.apache.hadoop.mapred.TextOutputFormat mapred.mapoutput.key.class=org.apache.hadoop.io.Text mapred.mapoutput.value.class=org.apache.hadoop.io.IntWritable mapred.output.key.class=org.apache.hadoop.io.Text mapred.output.value.class=org.apache.hadoop.io.IntWritable