<?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: ResourceManager yarn HA fail  - Sandbox at single node  - Only rm2 work , but rm1 have some problem in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ResourceManager-yarn-HA-fail-Sandbox-at-single-node-Only-rm2/m-p/100965#M13708</link>
    <description>&lt;P&gt;Configuring HA on single node is not expected thing to do.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2015 17:54:48 GMT</pubDate>
    <dc:creator>rahulpathak109</dc:creator>
    <dc:date>2015-12-29T17:54:48Z</dc:date>
    <item>
      <title>ResourceManager yarn HA fail  - Sandbox at single node  - Only rm2 work , but rm1 have some problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ResourceManager-yarn-HA-fail-Sandbox-at-single-node-Only-rm2/m-p/100964#M13707</link>
      <description>&lt;P&gt;Step 1.  vi /etc/hadoop/conf/yarn-site.xml &lt;/P&gt;&lt;P&gt;Add Follow line &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.ha.id&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;value&amp;gt;rm1&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;description&amp;gt;If we want to launch more than one RM in single node, we need this configuration&amp;lt;/description&amp;gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.ha.id&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;value&amp;gt;rm2&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;description&amp;gt;If we want to launch more than one RM in single node, we need this configuration&amp;lt;/description&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;!-- RM1 Configs --&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.address.rm1&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:23140&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.scheduler.address.rm1&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:23130&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.webapp.address.rm1&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:23188&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;name&amp;gt;yarn.resourcemanager.resource-tracker.address.rm1&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:23125&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;name&amp;gt;yarn.resourcemanager.admin.address.rm1&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:23141&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;!-- RM2 configs --&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;name&amp;gt;yarn.resourcemanager.address.rm2&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:33140&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.scheduler.address.rm2&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:33130&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.webapp.address.rm2&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;value&amp;gt;sandbox.hortonworks.com:33188&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.resource-tracker.address.rm2&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;value&amp;gt;sandbox.hortonworks.com:33125&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.admin.address.rm2&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;value&amp;gt;sandbox.hortonworks.com:33141&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.ha.enabled&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;name&amp;gt;yarn.resourcemanager.ha.rm-ids&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;rm1,rm2&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.recovery.enabled&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;name&amp;gt;yarn.resourcemanager.store.class&amp;lt;/name&amp;gt;
 &amp;lt;value&amp;gt;org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;name&amp;gt;yarn.resourcemanager.zk-address&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;value&amp;gt;sandbox.hortonworks.com:2181&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;description&amp;gt;For multiple zk services, separate them with comma&amp;lt;/description&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;name&amp;gt;yarn.resourcemanager.cluster-id&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;value&amp;gt;yarn-cluster&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.ha.automatic-failover.zk-base-path&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;value&amp;gt;/yarn-leader-election&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;description&amp;gt;Optional setting. The default value is 
   /yarn-leader-election&amp;lt;/description&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.cluster-id&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;value&amp;gt;yarn-cluster&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
 &amp;lt;name&amp;gt;yarn.resourcemanager.zk-state-store.address&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;sandbox.hortonworks.com:2181&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;Manual Start ZooKeeper.Start hdfs Start yarn  .. .&lt;/P&gt;&lt;P&gt;[yarn@sandbox ~]$  yarn rmadmin -getServiceState rm1
15/12/29 08:43:30 INFO ipc.Client: Retrying connect to server: sandbox.hortonworks.com/192.168.182.145:23141. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=1, sleepTime=1000 MILLISECONDS)
Operation failed: Call From sandbox.hortonworks.com/192.168.182.145 to sandbox.hortonworks.com:23141 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  &lt;A href="http://wiki.apache.org/hadoop/ConnectionRefused" target="_blank"&gt;http://wiki.apache.org/hadoop/ConnectionRefused&lt;/A&gt; &lt;/P&gt;&lt;P&gt;[yarn@sandbox ~]$  yarn rmadmin -getServiceState rm2 &lt;/P&gt;&lt;P&gt;standby&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:55:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ResourceManager-yarn-HA-fail-Sandbox-at-single-node-Only-rm2/m-p/100964#M13707</guid>
      <dc:creator>mikepok1</dc:creator>
      <dc:date>2022-09-16T09:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ResourceManager yarn HA fail  - Sandbox at single node  - Only rm2 work , but rm1 have some problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ResourceManager-yarn-HA-fail-Sandbox-at-single-node-Only-rm2/m-p/100965#M13708</link>
      <description>&lt;P&gt;Configuring HA on single node is not expected thing to do.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 17:54:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ResourceManager-yarn-HA-fail-Sandbox-at-single-node-Only-rm2/m-p/100965#M13708</guid>
      <dc:creator>rahulpathak109</dc:creator>
      <dc:date>2015-12-29T17:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: ResourceManager yarn HA fail  - Sandbox at single node  - Only rm2 work , but rm1 have some problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ResourceManager-yarn-HA-fail-Sandbox-at-single-node-Only-rm2/m-p/100966#M13709</link>
      <description>&lt;P&gt;You can't have High Availability for any service i.e. Resource Manager in your case, in a single machine sandbox environment. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 18:32:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ResourceManager-yarn-HA-fail-Sandbox-at-single-node-Only-rm2/m-p/100966#M13709</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2015-12-29T18:32:43Z</dc:date>
    </item>
  </channel>
</rss>

