What are simple commands to check if Hadoop daemons are running?
For example if I\'m trying to figure out why HDFS is not setup correctly I\'ll want to know a way to ch
you can use Jps command as vipin said like this command :
/usr/lib/java/jdk1.8.0_25/bin/jps
of course you will change the path of java with the one you have "the path you installed java in"
Jps is A nifty tool for checking whether the expected Hadoop processes are running (part of Sun’s Java since v1.5.0).
the result will be something like that :
2287 TaskTracker
2149 JobTracker
1938 DataNode
2085 SecondaryNameNode
2349 Jps
1788 NameNode
I get the answer from this tutorial: http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/