Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 22nd, 2011  |  syntax: None  |  size: 0.48 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  public static void main(String[] args) throws Exception {
  2.     Configuration conf = new Configuration();
  3.        
  4.     Job job = new Job(conf, "macID");
  5.     job.setJarByClass(MacFilter.class);
  6.     //job.setOutputKeyClass(Text.class);
  7.     //job.setOutputValueClass(IntWritable.class);
  8.        
  9.     job.setMapperClass(Map.class);
  10.     job.setReducerClass(Reduce.class);
  11.        
  12.     job.setInputFormatClass(KeyValueInputFormat.class);
  13.     job.setOutputFormatClass(TextOutputFormat.class);
  14.