title: Unable to change hadoop environment variables
body: <p>I am unable to change the default hadoop environment variables. I was trying to install CDH 5 on a different user when I had a custom hadoop installation on another user. </p>
  
  <p>When I run hadoop version I get</p>
  
  <blockquote>
    <p>/usr/bin/hadoop: line 8: /usr/lib/hadoop/bin/hadoop: No such file or
    directory</p>
  </blockquote>
  
  <p>when my $HADOOP_HOME variable is set to</p>
  
  <pre><code>hduser@udayPC:~$ echo $HADOOP_HOME
  /usr/local/hadoop
  </code></pre>
  
  <p>I have checked the bashrc it has the paths that I have defined. How can I make sure that the hadoop command runs from <code>/usr/local/hadoop</code>?</p>