<?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: Resource Manager shows 0 active nodes and Total Memory = 0 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208553#M71664</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This lists no nodes.&lt;/P&gt;&lt;P&gt;yarn node -list&lt;/P&gt;&lt;P&gt;17/11/23 16:19:24 INFO impl.TimelineClientImpl: Timeline service address: &lt;A href="http://localhost:8188/ws/v1/timeline/" target="_blank"&gt;http://localhost:8188/ws/v1/timeline/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;17/11/23 16:19:24 INFO client.RMProxy: Connecting to ResourceManager at localhost/127.0.0.1:8050&lt;/P&gt;&lt;P&gt;17/11/23 16:19:24 INFO client.AHSProxy: Connecting to Application History server at localhost/127.0.0.1:10200&lt;/P&gt;&lt;P&gt;Total Nodes:0&lt;/P&gt;&lt;P&gt;Node-Id Node-StateNode-Http-AddressNumber-of-Running-Containers&lt;/P&gt;</description>
    <pubDate>Fri, 24 Nov 2017 00:20:16 GMT</pubDate>
    <dc:creator>nirmal1</dc:creator>
    <dc:date>2017-11-24T00:20:16Z</dc:date>
    <item>
      <title>Resource Manager shows 0 active nodes and Total Memory = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208549#M71660</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried to submit a spark job using YARN. But the application state remains UNDEFINED with the below error.&lt;/P&gt;&lt;P&gt;"ACCEPTED: waiting for AM container to be allocated, launched and register with RM."&lt;/P&gt;&lt;P&gt;When I checked the node status, the number of active nodes=0 and total memory=0. Is it because the datanodes are not detected by namenode?&lt;/P&gt;&lt;P&gt;When I checked the Name Node UI, it shows two data node information.&lt;/P&gt;&lt;P&gt;Please find attached the screen shots&lt;/P&gt;&lt;P&gt;Could anyone please help me to resolve this.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nirmal J&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/43692-screen-shot-2017-11-23-at-54836-pm.png"&gt;screen-shot-2017-11-23-at-54836-pm.png&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/43693-screen-shot-2017-11-23-at-54419-pm.png"&gt;screen-shot-2017-11-23-at-54419-pm.png&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/43694-screen-shot-2017-11-23-at-54352-pm.png"&gt;screen-shot-2017-11-23-at-54352-pm.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 20:21:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208549#M71660</guid>
      <dc:creator>nirmal1</dc:creator>
      <dc:date>2017-11-23T20:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager shows 0 active nodes and Total Memory = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208550#M71661</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/46251/nirmal.html" nodeid="46251" target="_blank"&gt;@Nirmal J&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Looks like all your NodeManagers are down or you dont have any nodemanagers. Go to Yarn and check if node managers are running or not. Start them if they are not running. If you do not have node managers add a node manager and start it. &lt;/P&gt;&lt;P&gt;Adding a Nodemanager: Click on Hosts -&amp;gt; Select a Host -&amp;gt; Add -&amp;gt; NodeManager. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42737-screen-shot-2017-11-23-at-72653-pm.png" style="width: 1860px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16862iF0792E5FB5484614/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42737-screen-shot-2017-11-23-at-72653-pm.png" alt="42737-screen-shot-2017-11-23-at-72653-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:22:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208550#M71661</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2019-08-18T04:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager shows 0 active nodes and Total Memory = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208551#M71662</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for your quick response. &lt;/P&gt;&lt;P&gt;But the node managers are all up and running&lt;/P&gt;&lt;P&gt;Please find attached the screenshots&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/43697-screen-shot-2017-11-23-at-84336-pm.png"&gt;screen-shot-2017-11-23-at-84336-pm.png&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/43698-screen-shot-2017-11-23-at-84200-pm.png"&gt;screen-shot-2017-11-23-at-84200-pm.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nirmal J&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 23:14:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208551#M71662</guid>
      <dc:creator>nirmal1</dc:creator>
      <dc:date>2017-11-23T23:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager shows 0 active nodes and Total Memory = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208552#M71663</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/46251/nirmal.html" nodeid="46251"&gt;@Nirmal J&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you run the command and check if it giving all the node managers. &lt;/P&gt;&lt;PRE&gt;yarn node -list&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Nov 2017 00:18:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208552#M71663</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-11-24T00:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager shows 0 active nodes and Total Memory = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208553#M71664</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This lists no nodes.&lt;/P&gt;&lt;P&gt;yarn node -list&lt;/P&gt;&lt;P&gt;17/11/23 16:19:24 INFO impl.TimelineClientImpl: Timeline service address: &lt;A href="http://localhost:8188/ws/v1/timeline/" target="_blank"&gt;http://localhost:8188/ws/v1/timeline/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;17/11/23 16:19:24 INFO client.RMProxy: Connecting to ResourceManager at localhost/127.0.0.1:8050&lt;/P&gt;&lt;P&gt;17/11/23 16:19:24 INFO client.AHSProxy: Connecting to Application History server at localhost/127.0.0.1:10200&lt;/P&gt;&lt;P&gt;Total Nodes:0&lt;/P&gt;&lt;P&gt;Node-Id Node-StateNode-Http-AddressNumber-of-Running-Containers&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 00:20:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208553#M71664</guid>
      <dc:creator>nirmal1</dc:creator>
      <dc:date>2017-11-24T00:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager shows 0 active nodes and Total Memory = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208554#M71665</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/46251/nirmal.html" nodeid="46251"&gt;@Nirmal J&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you please change the ResourceManager , NodeManager, Timeline service address to proper hostnames instead of localhost and try restarting the services.&lt;/P&gt;&lt;P&gt;yarn.timeline-service.webapp.address: localhost:8188 to {timeline server hostname}:8188&lt;/P&gt;&lt;P&gt;yarn.timeline-service.address : localhost:10200  to {timeline server hostname}:10200&lt;/P&gt;&lt;P&gt;yarn.resourcemanager.address: localhost:8050 to {rmhostname}:8050&lt;/P&gt;&lt;P&gt;yarn.resourcemanager.hostname: localhost to {rmhostname}&lt;/P&gt;&lt;P&gt;Make sure to remove all localhost and replace with proper hostnames.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 00:24:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208554#M71665</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-11-24T00:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Manager shows 0 active nodes and Total Memory = 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208555#M71666</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Changing the ResourceManager , NodeManager, Timeline service address to proper hostnames instead of localhost worked.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Nirmal J&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 01:18:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resource-Manager-shows-0-active-nodes-and-Total-Memory-0/m-p/208555#M71666</guid>
      <dc:creator>nirmal1</dc:creator>
      <dc:date>2017-11-24T01:18:16Z</dc:date>
    </item>
  </channel>
</rss>

