<?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: alternatives hadoop-conf - difference between Namenode and Datanodes in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62136#M71584</link>
    <description>&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your explanations. Especially I appreciated your clarification about service/client configuration difference and how to enable client configuration for yarn. It solves my issue, thanks a million.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sz&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2017 09:07:11 GMT</pubDate>
    <dc:creator>szamasz</dc:creator>
    <dc:date>2017-11-23T09:07:11Z</dc:date>
    <item>
      <title>alternatives hadoop-conf - difference between Namenode and Datanodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62107#M71582</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I've just realized there is a difference in configuration of alternatives functionality between Datanodes and the NameNode.&lt;BR /&gt;&lt;BR /&gt;NameNode:&lt;BR /&gt;&lt;BR /&gt;alternatives --display hadoop-conf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;hadoop-conf - status is auto.&lt;BR /&gt;&amp;nbsp;link currently points to /etc/hadoop/conf.cloudera.hdfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;/etc/hadoop/conf.cloudera.hdfs - priority 90&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/etc/hadoop/conf.empty - priority 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Current `best' version is&lt;STRONG&gt; /etc/hadoop/conf.cloudera.hdfs&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataNode:&lt;BR /&gt;&amp;nbsp;alternatives --display hadoop-conf&lt;BR /&gt;hadoop-conf - status is auto.&lt;BR /&gt;&amp;nbsp;link currently points to /etc/hadoop/conf.cloudera.yarn&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/etc/hadoop/conf.empty - priority 10&lt;BR /&gt;/etc/hadoop/conf.cloudera.yarn - priority 92&lt;BR /&gt;/etc/hadoop/conf.cloudera.hdfs - priority 90&lt;BR /&gt;Current `best' version is &lt;STRONG&gt;/etc/hadoop/conf.cloudera.yarn&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On NameNode I see directory /etc/hadoop/conf.cloudera.yarn but it seems to be unused. For example, even though yarn.resourcemanager.address is set correctly in /etc/hadoop/conf.cloudera.yarn/yarn-site.xml I receive:&lt;BR /&gt;&lt;BR /&gt;INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032&lt;BR /&gt;INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)&lt;BR /&gt;INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)&lt;BR /&gt;&lt;BR /&gt;when I try 'yarn application -list' from NameNode, and correct results when I try from DataNodes.&lt;BR /&gt;Is it expected behaviour? Has anybody hit this problem before?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:33:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62107#M71582</guid>
      <dc:creator>szamasz</dc:creator>
      <dc:date>2022-09-16T12:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: alternatives hadoop-conf - difference between Namenode and Datanodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62110#M71583</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/24582"&gt;@szamasz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your observations are correct and expected.&amp;nbsp; The configuration differences are due to the logic used in Cloudera Manager's management of client configurations.&amp;nbsp;Depending on what roles you have installed on each host, CM will determine the configuration files necessary for clients on those hosts.&amp;nbsp; If you have a YARN role (NodeManager or Resource Manager) running on the same host as the NameNode, you will probably see the same alternative link to conf.cloudera.yarn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is because the YARN configuration will contain client files for YARN as well as HDFS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you wish, you can go to your YARN service in Cloudera Manager and click on the &lt;STRONG&gt;Instances&lt;/STRONG&gt; subtab.&amp;nbsp; Click&amp;nbsp;&lt;STRONG&gt;Add new Role Instances&lt;/STRONG&gt; and&amp;nbsp;add a new role of "Gateway" to the NameNode host.&amp;nbsp; Then, deploy client configuration. You will then see that the alternatives link will change to&amp;nbsp;&lt;STRONG&gt;/etc/hadoop/conf.cloudera.yarn&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding the Gateway Role will allow clients (not Services) to read the current client configuration.&lt;/P&gt;&lt;P&gt;Servers do not use the client configuration files in /etc.&amp;nbsp; Rather, they use the configuration files deployed to the /var/run/cloudera-scm-agent/process directory when starting a service via Cloudera Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if all of this will help you solve your problem since I didn't see what command you tried to run when the problem happened.&amp;nbsp; If it doesn't help, please describe what the problem is and we'll help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 16:11:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62110#M71583</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2017-11-22T16:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: alternatives hadoop-conf - difference between Namenode and Datanodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62136#M71584</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your explanations. Especially I appreciated your clarification about service/client configuration difference and how to enable client configuration for yarn. It solves my issue, thanks a million.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sz&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 09:07:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62136#M71584</guid>
      <dc:creator>szamasz</dc:creator>
      <dc:date>2017-11-23T09:07:11Z</dc:date>
    </item>
  </channel>
</rss>

