This article will show you how to get the IP address of a Hadoop server or a Hadoop NameNode.
If you are using Cloudera Quickstart VM, the “Getting Started” page displays the machine’s IP address, as seen in the image below.
If you wish to retrieve the IP address via the terminal, use the command below.
hdfs dfsadmin -report
The command above will display the IP address assigned to the machine, the host name, the decommission status, and the specified capacity. Take a look at the image below.
I hope you found this post useful.
Please subscribe to our email list to receive the most recent information.