How to find total number of nodes on which hadoop is installed

How do I find out how many active nodes there are cuurently? I don't have admin rights to the cluster.

Answers


 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


Need Your Help

Quoted Printable - Decode .eml

java character-encoding decode quoted-printable

i want decode some content of an .eml-Mail-File. The File contains Strings like "Gesch=C3=A4ftsbedingungen", it shoult be > "Geschäftsbedingungen"

How to reset static variables within a function

c static initialization reset

Is there a way to reset variables declared as static within a function? The goal is to make sure that the function is not called with lingering values from an unrelated call. For example, I have a