hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zjffdu" <zjf...@gmail.com>
Subject RE: UnknownHostException
Date Wed, 24 Jun 2009 06:00:48 GMT

I encountered this problem before.  If t you can ping the machine using its
name, but cannot ping it using its IP address.

then what you have to do is add the mapping into /etc/hosts

-----Original Message-----
From: bharathvissapragada1990@gmail.com
[mailto:bharathvissapragada1990@gmail.com] On Behalf Of bharath vissapragada
Sent: 2009年6月23日 6:42
To: core-user@hadoop.apache.org
Subject: UnknownHostException

when i try to execute the command bin/start-dfs.sh  , i get the following
error . I have checked the hadoop-site.xml file on all the nodes , and they
are fine ..
can some-one help me out! Exception in thread "main" java.net.UnknownHostException:
unknown host:     at
org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:195)     at
org.apache.hadoop.ipc.Client.getConnection(Client.java:779)     at org.apache.hadoop.ipc.Client.call(Client.java:704)     at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)     at org.apache.hadoop.dfs.$Proxy4.getProtocolVersion(Unknown
Source)     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:319)     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:306)     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:343)     at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:288)

View raw message