SHARE
TWEET

Untitled

a guest Oct 22nd, 2011 48 Never
  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.  
RAW Paste Data
Top