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?