hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Ying LI (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10558) java.net.UnknownHostException: Invalid host name: local host is: (unknown)
Date Wed, 09 Jul 2014 04:50:04 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055841#comment-14055841
] 

Lance Ying LI commented on HADOOP-10558:
----------------------------------------

Hi, I am facing the same problem, it seems 'MapReduce' can not figure out the 'localhost'
address. Here are some details,
14/07/09 12:25:45 INFO mapreduce.Job: Job job_1404879176168_0003 failed with state FAILED
due to: Application application_1404879176168_0003 failed 2 times due to Error launching appattempt_1404879176168_0003_000002.
Got exception: java.net.UnknownHostException: Invalid host name: local host is: (unknown);
destination host is: "d1":10088; java.net.UnknownHostException; For more details see:  http://wiki.apache.org/hadoop/UnknownHost
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)
	at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:742)
	at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:400)
	at org.apache.hadoop.ipc.Client.getConnection(Client.java:1452)
	at org.apache.hadoop.ipc.Client.call(Client.java:1381)
	at org.apache.hadoop.ipc.Client.call(Client.java:1363)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
	at com.sun.proxy.$Proxy28.startContainers(Unknown Source)
	at org.apache.hadoop.yarn.api.impl.pb.client.ContainerManagementProtocolPBClientImpl.startContainers(ContainerManagementProtocolPBClientImpl.java:96)
	at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:118)
	at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:249)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.UnknownHostException
	... 12 more
. Failing the application.


> java.net.UnknownHostException: Invalid host name: local host is: (unknown)
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-10558
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10558
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: two node cluster
> ubuntu 12.04 LTS in both
> Java version "1.7.0_25"
> node 1: core i5 4 GB RAM
> node 2: core i3 4 GB RAM
>            Reporter: Sami Abobala
>              Labels: hadoop, mapreduce, ubuntu
>
> I had this exception  every time i try to run map-red job, I went to http://wiki.apache.org/hadoop/UnknownHost
> and tried every possible solution and still have the same result 
> Task Id : attempt_1398945803120_0001_m_000004_0, Status : FAILED
> Container launch failed for container_1398945803120_0001_01_000006 : java.lang.reflect.UndeclaredThrowableException
> .
> .
> Caused by: com.google.protobuf.ServiceException: java.net.UnknownHostException: Invalid
host name: local host is: (unknown); destination host is: ""fatima-HP-ProBook-4520s":8042;
java.net.UnknownHostException; For more details see:  http://wiki.apache.org/hadoop/UnknownHost
> .	
> .



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message