<?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: Unable to connect to resourcemanager at 0.0.0.0:8030 when running query on beeline with tez in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397200#M249763</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119797"&gt;@rsurti&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71090"&gt;@asish&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85252"&gt;@udeshmukh&lt;/a&gt;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2024 05:41:26 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2024-11-08T05:41:26Z</dc:date>
    <item>
      <title>Unable to connect to resourcemanager at 0.0.0.0:8030 when running query on beeline with tez</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397116#M249700</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have hadoop cluster with namenode resourcemanager on on server, datanode o another server and hive, tez on different server.&lt;/P&gt;&lt;P&gt;I am getting error on running query on beeline -&amp;nbsp; below are the yarn logs - it keeps trying to connect&lt;/P&gt;&lt;PRE&gt;2024-10-31 15:57:49,806 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |rm.TaskSchedulerManager|: Creating TaskScheduler: Local TaskScheduler with clusterIdentifier=111101111
2024-10-31 15:57:49,813 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |rm.YarnTaskSchedulerService|: YarnTaskScheduler initialized with configuration: maxRMHeartbeatInterval: 1000, containerReuseEnabled: true, reuseRackLocal: true, reuseNonLocal: false, localitySchedulingDelay: 250, preemptionPercentage: 10, preemptionMaxWaitTime: 60000, numHeartbeatsBetweenPreemptions: 3, idleContainerMinTimeout: 5000, idleContainerMaxTimeout: 10000, sessionMinHeldContainers: 0
2024-10-31 15:57:49,817 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |client.RMProxy|: Connecting to ResourceManager at /0.0.0.0:8030
2024-10-31 15:57:50,834 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |ipc.Client|: Retrying connect to server: 0.0.0.0/0.0.0.0:8030. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2024-10-31 15:57:51,836 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |ipc.Client|: Retrying connect to server: 0.0.0.0/0.0.0.0:8030. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2024-10-31 15:57:52,837 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |ipc.Client|: Retrying connect to server: 0.0.0.0/0.0.0.0:8030. &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;few troubleshoots i have done,&lt;/P&gt;&lt;P&gt;checked the yarn-site.xml file on all instances&lt;/P&gt;&lt;P&gt;hostname and all three addresses are mentioned&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.resourcemanager.hostname&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;node1&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.resourcemanager.address&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;node1:8032&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.resourcemanager.scheduler.address&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;node1:8030&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.resourcemanager.resource-tracker.address&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;node1:8031&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.nodemanager.address&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;node1:59392&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.nodemanager.aux-services&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;mapreduce_shuffle&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.nodemanager.auxservices.mapreduce.shuffle.class&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;org.apache.hadoop.mapred.ShuffleHandler&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.nodemanager.resource.memory-mb&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;124491&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.nodemanager.resource.cpu-vcores&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;125&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.scheduler.maximum-allocation-mb&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;50115&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;yarn.scheduler.maximum-allocation-vcores&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;54&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also checked&lt;/P&gt;&lt;P&gt;telnet node1 8030&lt;/P&gt;&lt;P&gt;this is working&lt;/P&gt;&lt;P&gt;ping node1&lt;/P&gt;&lt;P&gt;this also works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;checked /etc/hosts&lt;/P&gt;&lt;P&gt;this also seems to be fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 07:21:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397116#M249700</guid>
      <dc:creator>rsurti</dc:creator>
      <dc:date>2024-11-07T07:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to resourcemanager at 0.0.0.0:8030 when running query on beeline with tez</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397200#M249763</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119797"&gt;@rsurti&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71090"&gt;@asish&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/85252"&gt;@udeshmukh&lt;/a&gt;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 05:41:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397200#M249763</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-11-08T05:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to resourcemanager at 0.0.0.0:8030 when running query on beeline with tez</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397203#M249764</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119797"&gt;@rsurti&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ApplicationMaster is trying to connect to the ResourceManager on the same host (localhost / any interface, which is 0.0.0.0) and as it cannot connect to the RM &lt;/SPAN&gt;&lt;SPAN&gt;it is failing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2024-10-31 15:57:52,837 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |ipc.Client|: Retrying connect to server: 0.0.0.0/0.0.0.0:8030. &lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;The above suggests a misconfiguration - YARN config files missing / or not having proper contents on those hosts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have you performed&amp;nbsp; CM&amp;gt;Yarn&amp;gt; Actions&amp;gt; Deploy Client configurations&amp;nbsp; ? If not, could you try this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32119"&gt;@VidyaSargur&lt;/a&gt;&amp;nbsp;We might need yarn experts in this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 05:56:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397203#M249764</guid>
      <dc:creator>udeshmukh</dc:creator>
      <dc:date>2024-11-08T05:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to resourcemanager at 0.0.0.0:8030 when running query on beeline with tez</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397209#M249768</link>
      <description>&lt;P&gt;Thanks for suggestion, the issue has been resolve,&amp;nbsp; we had aaded new datanode after that we had restarted the namenode, resourcemanager, datanode, node manager, but not hiveserver,&amp;nbsp; because of which configuration was not loaded on hive properly, after restart it started working.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 06:29:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-to-resourcemanager-at-0-0-0-0-8030-when/m-p/397209#M249768</guid>
      <dc:creator>rsurti</dc:creator>
      <dc:date>2024-11-08T06:29:43Z</dc:date>
    </item>
  </channel>
</rss>

