title: YARN: running yarn-env.sh gives error
body: <p>I am trying to run YARN but running yarn-config.sh gives he following error. How can I fix it? Is it related to the kind of shell I am using?</p>
  
  <pre><code>sh libexec/yarn-config.sh
  libexec/yarn-config.sh: 82: /opt/hadoop/2.5.1/libexec/../libexec/hadoop-config.sh: Syntax error: word unexpected (expecting ")")
  </code></pre>