<?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: What is hadoop_secure_dn_pid under /var/run/hadoop/hdfs directory? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-hadoop-secure-dn-pid-under-var-run-hadoop-hdfs/m-p/232513#M64507</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19440/ashwiniashpatkar.html" nodeid="19440"&gt;@Ashwini Patkar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In a kerberized environment the DataNode does not use the RPC framework of Hadoop, DataNode must authenticate itself by using privileged ports which are specified by &lt;STRONG&gt;dfs.datanode.address&lt;/STRONG&gt; and &lt;STRONG&gt;dfs.datanode.http.address&lt;/STRONG&gt;. There you will see this PID is being used.  "/var/run/hadoop/hdfs/hadoop_secure_dn.pid"&lt;/P&gt;&lt;P&gt;
&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;jsvc.exec -Dproc_datanode -outfile /var/log/hadoop/hdfs/jsvc.out -errfile /var/log/hadoop/hdfs/jsvc.err -pidfile /var/run/hadoop/hdfs/hadoop_secure_dn.pid&lt;/PRE&gt;&lt;P&gt;

You can find the "HADOOP_SECURE_DN_PID" parameter info inside the "/usr/hdp/current/hadoop-hdfs-datanode/bin/hdfs.distro" file.&lt;/P&gt;&lt;P&gt;Please see: &lt;A href="https://community.hortonworks.com/articles/90673/why-datanodes-have-two-processes-on-a-kerberized-c.html" target="_blank"&gt;https://community.hortonworks.com/articles/90673/why-datanodes-have-two-processes-on-a-kerberized-c.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2017 14:00:59 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-07-09T14:00:59Z</dc:date>
    <item>
      <title>What is hadoop_secure_dn_pid under /var/run/hadoop/hdfs directory?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-hadoop-secure-dn-pid-under-var-run-hadoop-hdfs/m-p/232512#M64506</link>
      <description />
      <pubDate>Sun, 09 Jul 2017 13:42:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-hadoop-secure-dn-pid-under-var-run-hadoop-hdfs/m-p/232512#M64506</guid>
      <dc:creator>ashwini_ash_pat</dc:creator>
      <dc:date>2017-07-09T13:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is hadoop_secure_dn_pid under /var/run/hadoop/hdfs directory?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-hadoop-secure-dn-pid-under-var-run-hadoop-hdfs/m-p/232513#M64507</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19440/ashwiniashpatkar.html" nodeid="19440"&gt;@Ashwini Patkar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In a kerberized environment the DataNode does not use the RPC framework of Hadoop, DataNode must authenticate itself by using privileged ports which are specified by &lt;STRONG&gt;dfs.datanode.address&lt;/STRONG&gt; and &lt;STRONG&gt;dfs.datanode.http.address&lt;/STRONG&gt;. There you will see this PID is being used.  "/var/run/hadoop/hdfs/hadoop_secure_dn.pid"&lt;/P&gt;&lt;P&gt;
&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;jsvc.exec -Dproc_datanode -outfile /var/log/hadoop/hdfs/jsvc.out -errfile /var/log/hadoop/hdfs/jsvc.err -pidfile /var/run/hadoop/hdfs/hadoop_secure_dn.pid&lt;/PRE&gt;&lt;P&gt;

You can find the "HADOOP_SECURE_DN_PID" parameter info inside the "/usr/hdp/current/hadoop-hdfs-datanode/bin/hdfs.distro" file.&lt;/P&gt;&lt;P&gt;Please see: &lt;A href="https://community.hortonworks.com/articles/90673/why-datanodes-have-two-processes-on-a-kerberized-c.html" target="_blank"&gt;https://community.hortonworks.com/articles/90673/why-datanodes-have-two-processes-on-a-kerberized-c.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 14:00:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-hadoop-secure-dn-pid-under-var-run-hadoop-hdfs/m-p/232513#M64507</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-07-09T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is hadoop_secure_dn_pid under /var/run/hadoop/hdfs directory?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-hadoop-secure-dn-pid-under-var-run-hadoop-hdfs/m-p/232514#M64508</link>
      <description>&lt;P&gt;Thanks@Jay SenSharma ...i understood the parameter..but i'm facing one problem with this. I had set the permission rights for both of the pid but when i checked this few days back permissions was changed..i set that back and today again i found it has changed.So can anybody help me with this..what will be the cause to change this parameter's permissions frequently?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 20:11:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-hadoop-secure-dn-pid-under-var-run-hadoop-hdfs/m-p/232514#M64508</guid>
      <dc:creator>ashwini_ash_pat</dc:creator>
      <dc:date>2017-07-09T20:11:13Z</dc:date>
    </item>
  </channel>
</rss>

