Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> UnknownHostException


Copy link to this message
-
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!

10.2.24.21: Exception in thread "main" java.net.UnknownHostException:
unknown host: 10.2.24.21.
10.2.24.21:     at
org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:195)
10.2.24.21:     at
org.apache.hadoop.ipc.Client.getConnection(Client.java:779)
10.2.24.21:     at org.apache.hadoop.ipc.Client.call(Client.java:704)
10.2.24.21:     at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
10.2.24.21:     at org.apache.hadoop.dfs.$Proxy4.getProtocolVersion(Unknown
Source)
10.2.24.21:     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:319)
10.2.24.21:     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:306)
10.2.24.21:     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:343)
10.2.24.21:     at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:288)