title: Cant stop datanode and namenode on Hadoop
body: <p>I've just ran an example of Apache Mahout clustering in my computer (with hadoop single node installed), I've started hadoop process (jobtracker, tasktracker, datanode, namenode) with the command (found in HADOOP_HOME\bin) start-all.sh. But when I try to use the command stop-all.sh, it says to me that there is no namenode or datanode running, though jps says that both are running.</p>
  
  <p>In the core-site.xml, this is what I have:</p>
  
  <pre><code>&lt;configuration&gt;
  &lt;property&gt;
    &lt;name&gt;hadoop.tmp.dir&lt;/name&gt;
    &lt;value&gt;/app/hadoop/tmp&lt;/value&gt;
    &lt;description&gt;A base for other temporary directories.&lt;/description&gt;
  &lt;/property&gt;
  
  &lt;property&gt;
    &lt;name&gt;fs.default.name&lt;/name&gt;
    &lt;value&gt;hdfs://localhost:54310&lt;/value&gt;
    &lt;description&gt;(...)&lt;/description&gt;
  &lt;/property&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>The user who runs hadoop, in my case hduser, is the owner of that directory (/app/hadoop/tmp). I think that formatting namenode could solve my problem, but is there an other solution for this problem?</p>