title: How to set OutputCommitter config?
body: <p>I have a mapreduce code that submits job using JobClient . I keep getting this null pointer error stack </p>
  
  <pre><code>12/12/10 12:42:44 INFO mapred.LocalJobRunner: OutputCommitter set in config null    
  Exception in thread "main" java.lang.NullPointerException
          at org.apache.hadoop.mapred.JobClient$NetworkedJob.&lt;init&gt;(JobClient.java:226)
          at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:924)
          at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:844)
          at java.security.AccessController.doPrivileged(Native Method)
          at javax.security.auth.Subject.doAs(Subject.java:396)
          at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
          at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:844)
          at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:818)
          at FTPIF.run(FTPIF.java:193)
          at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
          at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
          at FTPIF.main(FTPIF.java:273)
  </code></pre>
  
  <p>The piece of code that gets me this error is </p>
  
  <pre><code>JobClient j = new JobClient();
          j.init(conf);
          RunningJob check = j.submitJob(conf);
  </code></pre>
  
  <p>Any ideas ?</p>