<?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: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56963#M64091</link>
    <description>&lt;P&gt;check the status of datanode dameon in that host&lt;/P&gt;&lt;P&gt;meantime the pfile should be in&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/var/run/hadoop-hdfs/hadoop-hdfs-datanode.pid&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Jul 2017 14:58:57 GMT</pubDate>
    <dc:creator>csguna</dc:creator>
    <dc:date>2017-07-05T14:58:57Z</dc:date>
    <item>
      <title>For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56779#M64088</link>
      <description>&lt;P&gt;For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 21:05:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56779#M64088</guid>
      <dc:creator>JeffKubina</dc:creator>
      <dc:date>2017-06-30T21:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56784#M64089</link>
      <description>&lt;P&gt;Could you check your /tmp .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2017 02:48:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56784#M64089</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-07-01T02:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56960#M64090</link>
      <description>I did, it's not in /tmp.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:32:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56960#M64090</guid>
      <dc:creator>JeffKubina</dc:creator>
      <dc:date>2017-07-05T13:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56963#M64091</link>
      <description>&lt;P&gt;check the status of datanode dameon in that host&lt;/P&gt;&lt;P&gt;meantime the pfile should be in&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/var/run/hadoop-hdfs/hadoop-hdfs-datanode.pid&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:58:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56963#M64091</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-07-05T14:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56968#M64092</link>
      <description>I can get the PID via a "pgrep -fa datanode" but would prefer to find where&lt;BR /&gt;it writes its PID to a file.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:43:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56968#M64092</guid>
      <dc:creator>JeffKubina</dc:creator>
      <dc:date>2017-07-05T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56969#M64093</link>
      <description>&lt;P&gt;Check the below location for datanode pid file&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/var/run/hadoop-hdfs/&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:28:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56969#M64093</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-07-05T16:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56971#M64094</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16846"&gt;@JeffKubina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the supervisor starts CM managed processes, there is no PID file for the processes it starts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Short answer: &amp;nbsp;there is no PID file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:41:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56971#M64094</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2017-07-05T16:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56973#M64095</link>
      <description>So what is the recommended way of getting the datanodes PID?&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:00:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56973#M64095</guid>
      <dc:creator>JeffKubina</dc:creator>
      <dc:date>2017-07-05T17:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56974#M64096</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16846"&gt;@JeffKubina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While there are a number of ways to get the PID (like ps aux |grep ....), this is one I just thought up:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/usr/lib64/cmf/agent/build/env/bin/supervisorctl -c /var/run/cloudera-scm-agent/supervisor/supervisord.conf pid `ls -lrt /var/run/cloudera-scm-agent/process/ | awk '{print $9}' |grep DATANODE| tail -1`&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What it does is run supervisor's client using the Cloudera Manager sueprvisord.conf file to retrieve a pid file. &amp;nbsp;The backticks execute a command to get the most recent process directory to pass into the "pid" command of supervisorctl. &amp;nbsp;You can see the process names and statuses using the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/usr/lib64/cmf/agent/build/env/bin/supervisorctl -c /var/run/cloudera-scm-agent/supervisor/supervisord.conf status&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:10:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56974#M64096</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2017-07-05T17:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56975#M64097</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16846"&gt;@JeffKubina&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oops, that was overkill... forgot that supervisorctl status output has the PID column already... &amp;nbsp;So, you can run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/usr/lib64/cmf/agent/build/env/bin/supervisorctl -c /var/run/cloudera-scm-agent/supervisor/supervisord.conf status&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PID will be the 4th column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:13:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56975#M64097</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2017-07-05T17:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56992#M64098</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;if the cluster is not managed by CM then the path for PID is the below&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct me if I am wrong ,&lt;/P&gt;&lt;PRE&gt;/var/run/hadoop-hdfs/&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Jul 2017 01:26:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/56992#M64098</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-07-06T01:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/57036#M64099</link>
      <description>That is correct.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2017 14:31:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/For-CDH-5-7-0-what-is-the-full-path-to-an-HDFS-datanode-s/m-p/57036#M64099</guid>
      <dc:creator>JeffKubina</dc:creator>
      <dc:date>2017-07-06T14:31:35Z</dc:date>
    </item>
  </channel>
</rss>

