Skip to content

Instantly share code, notes, and snippets.

@tomelm
Created January 2, 2013 01:11
Show Gist options
  • Save tomelm/4431458 to your computer and use it in GitHub Desktop.
Save tomelm/4431458 to your computer and use it in GitHub Desktop.
public static class MapClass extends MapReduceBase
implements Mapper<Text, Text, Text, Text> {
public void map(Text key, Text value, OutputCollector<Text, Text> ouput, Reporter reporter)
throws IOException {
output.collect(value, key);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment