Support Questions

Find answers, ask questions, and share your expertise

YARN cluster is not recognizing any active NodeManagers (Total Nodes: 0)

avatar
Explorer

I am trying to run an application on using hive and hadoop.

And, my YARN cluster is not recognizing any active NodeManagers

Terminal output on: yarn node -list

anushkakundu@AnushkaHP14:/opt/hadoop/bin$ /opt/hadoop/bin/yarn node -list
2024-05-23 17:07:47,933 INFO client.DefaultNoHARMFailoverProxyProvider: Connecting to ResourceManager at /0.0.0.0:8032
Total Nodes:0
         Node-Id         Node-State Node-Http-Address   Number-of-Running-Containers

One more thing: My terminal reads:

 The url to track the job: http://AnushkaHP14:8088/proxy/application_1716465092573_0001/

However http://AnushkaHP14:8088/proxy/application_1716465092573_0001/ says This site can’t be reached

I have done the following:

  1. Started Hadoop (verified by running jps), started hive (metastore and hiveserver2 are active.)
  2. Modified my yarn-site.xml to allocate appropriate resources.
  3. Re stared everything.

Any suggestions are really welcome.

1 ACCEPTED SOLUTION

avatar
Explorer

Nvm, solved it.

There was a problem with space allocation in yarn-site.xml. I checked the logs and corrected it. 

View solution in original post

1 REPLY 1

avatar
Explorer

Nvm, solved it.

There was a problem with space allocation in yarn-site.xml. I checked the logs and corrected it.