package com.sensei.indexing.hadoop.demo;



import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapred.JobClient;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;

import com.sensei.indexing.hadoop.job.MapReduceJob;
import com.sensei.indexing.hadoop.util.PropertiesLoader;


public class CarDemo extends MapReduceJob implements Tool {
  

  public int run(String[] args) throws Exception {
    JobConf conf = createJob(CarDemo.class);
    
    conf.setJobName("CarDemo");
    JobClient.runJob(conf);
    return 0;
  }
  

  public static void main(String[] args) throws Exception {
	long start = System.currentTimeMillis();
	Configuration conf = PropertiesLoader.loadProperties("example/hadoop-indexing/conf/JobCarDemo.job");
    int res = ToolRunner.run(conf, new CarDemo(), new String[]{});
    long end = System.currentTimeMillis();
    System.out.println("Total time: " + (end - start));
    System.exit(res);
  }

}
@@ -663,17 +663,20 @@
 ption %7B%0A
-%09
+    
 long sta
@@ -712,9 +712,12 @@
 ();%0A
-%09
+    
 Conf
@@ -867,22 +867,12 @@
 (), 
-new String%5B%5D%7B%7D
+args
 );%0A 
@@ -996,9 +996,10 @@
 );%0A  %7D%0A%0A
-
 %7D
+%0A

use real args instead of a empty string array.