title: Need assistance with running the WordCount.java provided by Cloudera
body: <p>Hey guys so I am trying to run the WordCount.java example, provided by cloudera. I ran the command below and am getting the exception that I have put below the command. So do you have any suggestions on how to proceed. I have gone through all the steps provided by cloudera.</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>hadoop jar ~/Desktop/wordcount.jar org.myorg.WordCount ~/Desktop/input
  ~/Desktop/output
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>ERROR security.UserGroupInformation: PriviledgedActionException
  as:root (auth:SIMPLE)
  cause:org.apache.hadoop.mapred.InvalidInputException: Input path does
  not exist: hdfs://localhost/home/rushabh/Desktop/input
  Exception in thread "main"
  org.apache.hadoop.mapred.InvalidInputException: Input path does not
  exist: hdfs://localhost/home/rushabh/Desktop/input
          at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:194)
          at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:205)
          at org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:977)
          at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:969)
          at org.apache.hadoop.mapred.JobClient.access$500(JobClient.java:170)
          at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:880)
          at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:833)
          at java.security.AccessController.doPrivileged(Native Method)
          at javax.security.auth.Subject.doAs(Subject.java:416)
          at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1177)
          at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:833)
          at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:807)
          at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1248)
          at org.myorg.WordCount.main(WordCount.java:55)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
  </code></pre>