Taking the driver apart
Sunday, February 28, 2010
9:12 PM
Taking the driver apart
Creating a "job" for the Hadoop cluster:
  // Create a "configuration" for a job
  JobConf conf = new JobConf(WordCount.class);
  // … set configuration parts
  try {
   // try to do it.
   JobClient.runJob(conf);
  } catch (Exception e) {
   e.printStackTrace();
  }