Return to Snippet

Revision: 56888
at April 20, 2012 05:33 by m1b


Initial Code
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

Initial URL


Initial Description
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.

Initial Title
job-file for hadoop job submit example

Initial Tags


Initial Language
Bash