How to check if Hadoop daemons are running?

后端 未结 9 1211
醉梦人生
醉梦人生 2021-02-02 10:33

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

9条回答
  •  南旧
    南旧 (楼主)
    2021-02-02 11:27

    I did not find great solution to it, so I used

    ps -ef | grep hadoop | grep -P  'namenode|datanode|tasktracker|jobtracker'
    

    just to see if stuff is running

    and

    ./hadoop dfsadmin -report
    

    but last was not helpful until server was running.

提交回复
热议问题