<?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 where are hadoop log files ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115681#M78475</link>
    <description>&lt;P&gt;the hadoop-env.sh file is showing HADOOP_HOME to be  "/usr/hdp/current/hadoop-client"  but on hadoop forum I am seeing notes that hdp home  is  /usr/hdp/&amp;lt;current-release&amp;gt;   in my case "/usr/hdp/2.5.0.0-124" .&lt;/P&gt;&lt;P&gt;so two questions :&lt;/P&gt;&lt;P&gt;1- where should HADOOP_HOME point to ?     &lt;/P&gt;&lt;P&gt;2- where should HADOOP_CON_DIR point to ?&lt;/P&gt;&lt;P&gt;3- where are the hadoop log files ?  as I am seeing to debug YARN Isues I need to look into hadoop log files&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 04:39:14 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2017-01-06T04:39:14Z</dc:date>
    <item>
      <title>where are hadoop log files ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115681#M78475</link>
      <description>&lt;P&gt;the hadoop-env.sh file is showing HADOOP_HOME to be  "/usr/hdp/current/hadoop-client"  but on hadoop forum I am seeing notes that hdp home  is  /usr/hdp/&amp;lt;current-release&amp;gt;   in my case "/usr/hdp/2.5.0.0-124" .&lt;/P&gt;&lt;P&gt;so two questions :&lt;/P&gt;&lt;P&gt;1- where should HADOOP_HOME point to ?     &lt;/P&gt;&lt;P&gt;2- where should HADOOP_CON_DIR point to ?&lt;/P&gt;&lt;P&gt;3- where are the hadoop log files ?  as I am seeing to debug YARN Isues I need to look into hadoop log files&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 04:39:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115681#M78475</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-01-06T04:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: where are hadoop log files ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115682#M78476</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;&lt;P&gt;1- where should HADOOP_HOME point to ?&lt;/P&gt;&lt;P&gt;HADOOP_HOME usually points to hadoop installation dir. For hortonworks it is /usr/hdp/current/hadoop/ or /usr/hdp/current/hadoop-client/&lt;/P&gt;&lt;P&gt;2- where should HADOOP_CON_DIR point to ?&lt;/P&gt;&lt;P&gt;/etc/hadoop/conf or some sym linc in /etc/hadoop/&lt;/P&gt;&lt;P&gt;3- where are the hadoop log files ? as I am seeing to debug YARN Isues I need to look into hadoop log files&lt;/P&gt;&lt;P&gt;By default all logs are under /var/log (Ex /var/log/hadoop)&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 07:21:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115682#M78476</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2017-01-06T07:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: where are hadoop log files ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115683#M78477</link>
      <description>&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;where would be yarn log files ?  as the yarn directory is empty &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@hadoop1 ~]# ls -ltr /var/log/hadoop/yarn
total 0
[root@hadoop1 ~]#&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 00:41:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115683#M78477</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-01-07T00:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: where are hadoop log files ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115684#M78478</link>
      <description>&lt;P&gt;
	Hi &lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	For Question 3, The log files location can be found out by checking hadoop-env.sh or yarn-env.sh file which are present in HADOOP_CONF_DIR which is usually /etc/hadoop/conf/ .&lt;/P&gt;&lt;P&gt;
	Sample yarn-env.sh&lt;/P&gt;&lt;PRE&gt;export HADOOP_YARN_HOME=/usr/hdp/current/hadoop-yarn-nodemanager   
export YARN_LOG_DIR=/grid/0/log/yarn/$USER       
export YARN_PID_DIR=/var/run/hadoop-yarn/$USER &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;yarn.nodemanager.log-dirs present in yarn-site.xml(Inside HADOOP_CONF_DIR)&lt;/STRONG&gt;: Determines where the container-logs are stored on the node when the containers are running&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 03:58:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115684#M78478</guid>
      <dc:creator>ssathish</dc:creator>
      <dc:date>2017-01-07T03:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: where are hadoop log files ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115685#M78479</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I believe that you are trying to debug yarn service components such as node manager, resource manager, if so you could find the logs inside /var/log/hadoop-yarn/$USER.&lt;/P&gt;&lt;P&gt;For instance if your yarn process user account is yarn then the logs would be in /var/log/hadoop-yarn/yarn&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 14:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/115685#M78479</guid>
      <dc:creator>ssivachandran</dc:creator>
      <dc:date>2017-01-09T14:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: where are hadoop log files ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/287114#M212865</link>
      <description>&lt;P&gt;You have to do this on the node where resource manager runs. on other nodes, this directory would be empty only. so this should be good.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 09:46:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/where-are-hadoop-log-files/m-p/287114#M212865</guid>
      <dc:creator>Throw</dc:creator>
      <dc:date>2020-01-08T09:46:52Z</dc:date>
    </item>
  </channel>
</rss>

