Rushikesh Garadade
Rushikesh Garadade

Reputation: 627

Hostname to IP Conflict in hadoop

I am running hadoop 2.2.0 . i installed it in linux 12.04. Sample wordcount, pi-estimator worked correctly. The problem is with Web Interfaces.

my /etc/hosts file contains:

127.0.0.1       localhost
127.0.1.1       master
192.168.2.81    master

When i go with "localhost" it works fine as shown in fignamenode log

But when i change it to "master" it shows error as shown in following figure namenode log with master

HOw to solve this... and how come it is not determining IP address from hostname "master"?

Upvotes: 1

Views: 248

Answers (1)

DMA
DMA

Reputation: 1043

Just have these 2.

127.0.0.1       localhost
192.168.2.81    master

Then it should be fine.

Upvotes: 1

Related Questions