<?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 Resource Manager HA and Yarn service-check is failing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143844#M23728</link>
    <description>&lt;P&gt;We enabled Yarn Resource Manager HA on our cluster ( HDP 2.3.2 and Ambari 2.1.2.1) and it was working fine until we re-installedRanger KMS server from the cluster. When the ResrouceManager HA was working, I saw one of them as active Resource Manager and the other one as Stand-by but they both are now showing as ResourceManager and also when I run the service check on yarn .. it is failing with the following error message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2998-rm.png" style="width: 972px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21615i76EB494F7A33E71F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2998-rm.png" alt="2998-rm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py", line 142, in &amp;lt;module&amp;gt;
    ServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py", line 138, in service_check
    raise Exception("Could not get json response from YARN API")
Exception: Could not get json response from YARN API&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Aug 2019 08:01:33 GMT</pubDate>
    <dc:creator>rbalam</dc:creator>
    <dc:date>2019-08-19T08:01:33Z</dc:date>
    <item>
      <title>Resource Manager HA and Yarn service-check is failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143844#M23728</link>
      <description>&lt;P&gt;We enabled Yarn Resource Manager HA on our cluster ( HDP 2.3.2 and Ambari 2.1.2.1) and it was working fine until we re-installedRanger KMS server from the cluster. When the ResrouceManager HA was working, I saw one of them as active Resource Manager and the other one as Stand-by but they both are now showing as ResourceManager and also when I run the service check on yarn .. it is failing with the following error message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2998-rm.png" style="width: 972px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21615i76EB494F7A33E71F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2998-rm.png" alt="2998-rm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py", line 142, in &amp;lt;module&amp;gt;
    ServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py", line 138, in service_check
    raise Exception("Could not get json response from YARN API")
Exception: Could not get json response from YARN API&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:01:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143844#M23728</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2019-08-19T08:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager HA and Yarn service-check is failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143845#M23729</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/392/rbalam.html" nodeid="392"&gt;@rbalam&lt;/A&gt; - It could be possible that both the resource managers are in standby or active state. can you please run below commands and check?&lt;/P&gt;&lt;PRE&gt;sudo -u yarn yarn rmadmin -getServiceState rm1

sudo -u yarn yarn rmadmin -getServiceState rm2&lt;/PRE&gt;&lt;P&gt;If you find that both the RMs are in standby state then you can initiate manual failover using below command&lt;/P&gt;&lt;PRE&gt;sudo -u yarn yarn rmadmin -transitionToActive --forcemanual rm1&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Apr 2016 01:43:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143845#M23729</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-05T01:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager HA and Yarn service-check is failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143846#M23730</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for the update.This issue was resolved by Hortonworks Support Engineering. I am trying to catching up with what they have done to fix the issue. &lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 23:58:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143846#M23730</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-04-05T23:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager HA and Yarn service-check is failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143847#M23731</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/answers/24541/post.html#"&gt;@Kuldeep Kulkarni&lt;/A&gt; I got the same error message. only difference is my env is kerborized &amp;amp; both my rm's are not in standby mode.&lt;/P&gt;&lt;P&gt;[yarn@m1 root]$ yarn rmadmin -getServiceState rm1&lt;/P&gt;&lt;P&gt;standby&lt;/P&gt;&lt;P&gt;[yarn@m1 root]$ yarn rmadmin -getServiceState rm2&lt;/P&gt;&lt;P&gt;active&lt;/P&gt;&lt;P&gt;Ambari doesn't show the state of RM, but getting same exception as above. i tried to switch the roles and that didnot help. Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 21:10:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-HA-and-Yarn-service-check-is-failing/m-p/143847#M23731</guid>
      <dc:creator>chrsvarma</dc:creator>
      <dc:date>2016-07-27T21:10:45Z</dc:date>
    </item>
  </channel>
</rss>

