<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: command &amp;quot;yarn application&amp;quot; doesn't work. Getting &amp;quot;No HADOOP_CONF_DIR set&amp;quot; er in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43853#M37582</link>
    <description>&lt;P&gt;Still has the same problem after a service reboot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like the gateway wasn't written through, strangely, my echo doesn't show any missing environment variable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;ubuntu@ip-172-31-23-254:~$ yarn&amp;nbsp;application&lt;BR /&gt;No HADOOP_CONF_DIR set.&lt;BR /&gt;Please specify it either in yarn-env.sh or in the environment.&lt;BR /&gt;ubuntu@ip-172-31-23-254:~$ echo $HADOOP_CONF_DIR&lt;BR /&gt;/etc/spark/conf/yarn-conf:/etc/hive/conf&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it looks like yarn get its variable elsewhere&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2016 23:34:29 GMT</pubDate>
    <dc:creator>tribbloid</dc:creator>
    <dc:date>2016-08-11T23:34:29Z</dc:date>
    <item>
      <title>command "yarn application" doesn't work. Getting "No HADOOP_CONF_DIR set" error.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43841#M37579</link>
      <description>&lt;P&gt;When I try to terminate an yarn application in CDH 5.8.x, I got the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;$ yarn application&lt;BR /&gt;No HADOOP_CONF_DIR set.&lt;BR /&gt;Please specify it either in yarn-env.sh or in the environment.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've searched through all directory and found no yarn-env.sh, this error message is quite misleading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does some one know how to fix it?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:34:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43841#M37579</guid>
      <dc:creator>tribbloid</dc:creator>
      <dc:date>2022-09-16T10:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: command "yarn application" doesn't work. Getting "No HADOOP_CONF_DIR set" er</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43842#M37580</link>
      <description>Please add more notes on how you've installed CDH and how you're managing it.&lt;BR /&gt;&lt;BR /&gt;If you use Cloudera Manager, then does the host you use to run this command have a YARN Gateway role added and deployed on it?&lt;BR /&gt;&lt;BR /&gt;Specifically, do you have a /etc/hadoop/conf/ directory with all required config files? If not this error would pop up.</description>
      <pubDate>Thu, 11 Aug 2016 21:19:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43842#M37580</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-08-11T21:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: command "yarn application" doesn't work. Getting "No HADOOP_CONF_DIR set" er</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43846#M37581</link>
      <description>Thanks a lot! I've add YARN Gateway and yarn application is working. I must have forgot to override YARN gateway in installation.&lt;BR /&gt;&lt;BR /&gt;Also, should it be a recommended setting to add YARN gateway to all nodes?</description>
      <pubDate>Thu, 11 Aug 2016 21:50:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43846#M37581</guid>
      <dc:creator>tribbloid</dc:creator>
      <dc:date>2016-08-11T21:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: command "yarn application" doesn't work. Getting "No HADOOP_CONF_DIR set" er</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43853#M37582</link>
      <description>&lt;P&gt;Still has the same problem after a service reboot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like the gateway wasn't written through, strangely, my echo doesn't show any missing environment variable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;ubuntu@ip-172-31-23-254:~$ yarn&amp;nbsp;application&lt;BR /&gt;No HADOOP_CONF_DIR set.&lt;BR /&gt;Please specify it either in yarn-env.sh or in the environment.&lt;BR /&gt;ubuntu@ip-172-31-23-254:~$ echo $HADOOP_CONF_DIR&lt;BR /&gt;/etc/spark/conf/yarn-conf:/etc/hive/conf&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it looks like yarn get its variable elsewhere&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 23:34:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43853#M37582</guid>
      <dc:creator>tribbloid</dc:creator>
      <dc:date>2016-08-11T23:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: command "yarn application" doesn't work. Getting "No HADOOP_CONF_DIR set" er</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43860#M37583</link>
      <description>You do not need to set these env-vars manually. They should be set automatically for you in CDH.&lt;BR /&gt;&lt;BR /&gt;The env-var, if you do choose to set it manually for some reason, must point to a singular directory of configs vs. multiple in a classpath style as it appears in your output.&lt;BR /&gt;&lt;BR /&gt;Can you retry with an unset HADOOP_CONF_DIR since its handled automatically and your value's causing it to not use the automatic location? Does /etc/hadoop/conf/ exist now with usable files under it?</description>
      <pubDate>Fri, 12 Aug 2016 07:03:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/command-quot-yarn-application-quot-doesn-t-work-Getting-quot/m-p/43860#M37583</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-08-12T07:03:40Z</dc:date>
    </item>
  </channel>
</rss>

