Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D9F411EFE for ; Wed, 9 Jul 2014 04:50:05 +0000 (UTC) Received: (qmail 43061 invoked by uid 500); 9 Jul 2014 04:50:04 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 43019 invoked by uid 500); 9 Jul 2014 04:50:04 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 43008 invoked by uid 99); 9 Jul 2014 04:50:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 04:50:04 +0000 Date: Wed, 9 Jul 2014 04:50:04 +0000 (UTC) From: "Lance Ying LI (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-10558) java.net.UnknownHostException: Invalid host name: local host is: (unknown) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(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)