title: yarn-env.sh : command not found
body: <p>I have Hadoop 2.7.2 installed on Ubuntu 16.04. When I run the command:</p>
  
  <blockquote>
    <p>start-yarn.sh</p>
  </blockquote>
  
  <p>It gives the following output:</p>
  
  <blockquote>
    <p>starting yarn daemons
    /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found
    starting resourcemanager, logging to /usr/local/hadoop-2.7.2/logs/yarn-hduser-resourcemanager-brij-Compaq-15-Notebook-PC.out
    /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found
    localhost: /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found
    localhost: starting nodemanager, logging to /usr/local/hadoop-2.7.2/logs/yarn-hduser-nodemanager-brij-Compaq-15-Notebook-PC.out
    localhost: /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found</p>
  </blockquote>
  
  <p>I am just curious about the last line that is </p>
  
  <blockquote>
    <p>yarn-env.sh
    : command not found. </p>
  </blockquote>
  
  <p>Should I be concerned? Or have I done anything wrong which resulted in this error?</p>