Reputation: 383
How do I find out how many active nodes there are cuurently? I don't have admin rights to the cluster.
Upvotes: 5
Views: 21136
Reputation: 7376
You can find with this code in terminal:
yarn node -list -all
And you can see details of nodes (Node-Id,Node-State,Node-Http-Address,Number-of-Running-Containers)
Upvotes: 0
Reputation: 2650
hdfs dfsadmin -report
The above command will give you active and dead nodes. Even the namanode web UI 50070 will also give you the count of datanodes live or dead
Upvotes: 8