title: Compile error in WordCount.java with CDH4 pseudo distributed mode
body: <p>I have just copied the <code>WordCount.java</code> source code from the examples directory and I am trying to compile it. But I am getting the error</p>
  
  <pre><code>WordCount.java:61: error: cannot access Options
  String[] otherArgs = new GenericOptionsParser(conf, args).getRemainingArgs();
                       ^
  class file for org.apache.commons.cli.Options not found
  1 error
  </code></pre>
  
  <p><strong>I have not changed anything in the code.</strong></p>