title: Mahout command line example
body: <p>I have installed Hadoop and Mahout.</p>
  
  <p>I tested Hadoop code with an example, it works fine.</p>
  
  <p>Now how to test Mahout on Hadoop ?</p>
  
  <p>when I executed the following command </p>
  
  <pre><code>mahout recommenditembased -s SIMILARITY_LOGLIKELIHOOD -i /home/hduser/a.txt -o /output --numRecommendations 25
  </code></pre>
  
  <p>I am getting this error</p>
  
  <pre><code>Running on hadoop, using /usr/local/hadoop/bin/hadoop and HADOOP_CONF_DIR=
  ERROR: Could not find mahout-examples-*.job in /opt/apache-mahout-distribution-0.11.0 or /opt/apache-mahout-distribution-0.11.0/examples/target, please run 'mvn install' to create the .job file
  </code></pre>
  
  <p>How to solve this and please provide some command line example for running a Mahout example code</p>
  
  <p>Mahout Version :0.11.0</p>