title: History Server not starting on cloudera Hadoop
body: <p>I have setup the 'hadoop' by following the instructions given in <a href="http://www.cloudera.com/blog/2011/11/building-and-deploying-mr2/" rel="nofollow">here</a>. 
  I downloaded and deployed it successfully and can able to run all the daemons except historyserver and run the example programs.
  when I run sbin/yarn-daemon.sh start historyserver, the following error is displayed.</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: historyserver
  Caused by: java.lang.ClassNotFoundException: historyserver
  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
  Could not find the main class: historyserver.  Program will exit.
  </code></pre>
  
  <p>Can anyone do help me in this issue?</p>