Search code examples
hadoopdaemonresourcemanager

Hadoop Yarn Daemons Stop Running


Running start-dfs.sh and start-yarn.sh followed by jps gives the following output:

8227 ResourceManager
8328 NodeManager
7804 NameNode
8366 Jps
8077 SecondaryNameNode
7901 DataNode

If I run jps about 5 seconds later, the ouput is:

7804 NameNode
8473 Jps
8077 SecondaryNameNode
7901 DataNode

The two yarn daemons (ResourceManager and NodeManager) stop working for some reasons. Any idea as to why this may happen?


Solution

  • This typically happens when there are problems starting up the services. It could be a lot of things - missing configuration, permission issues, etc.

    You'll have to inspect the logs of ResourceManager and NodeManager for more details.