Get IP Address of Hadoop & Hive

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.

HadoopIPAddress

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.

HadoopIPAddress2

I hope you found this post useful.
Please subscribe to our email list to receive the most recent information.

2 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s