From issues-return-39581-archive-asf-public=cust-asf.ponee.io@tez.apache.org Tue Aug 14 18:15:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B6E43180654 for ; Tue, 14 Aug 2018 18:15:05 +0200 (CEST) Received: (qmail 44182 invoked by uid 500); 14 Aug 2018 16:15:04 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 44173 invoked by uid 99); 14 Aug 2018 16:15:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2018 16:15:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5006EC1A1C for ; Tue, 14 Aug 2018 16:15:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 1rcGQexto4hN for ; Tue, 14 Aug 2018 16:15:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A209F5F525 for ; Tue, 14 Aug 2018 16:15:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 74A6BE2638 for ; Tue, 14 Aug 2018 16:15:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8ABD023FAE for ; Tue, 14 Aug 2018 16:15:00 +0000 (UTC) Date: Tue, 14 Aug 2018 16:15:00 +0000 (UTC) From: "Jonathan Eagles (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEZ-3978) DAGClientServer Socket exception when localhost name lookup failures 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/TEZ-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580012#comment-16580012 ] Jonathan Eagles commented on TEZ-3978: -------------------------------------- [~jlowe], I put up a patch that avoids the hostname lookup in the section of code that is failing, but the lines following need to be validated as well. > DAGClientServer Socket exception when localhost name lookup failures > -------------------------------------------------------------------- > > Key: TEZ-3978 > URL: https://issues.apache.org/jira/browse/TEZ-3978 > Project: Apache Tez > Issue Type: Bug > Reporter: Jonathan Eagles > Assignee: Jonathan Eagles > Priority: Major > Attachments: TEZ-3978.001.patch > > > Call From 0.0.0.0 to null:0 failed on socket exception: java.net.SocketException: Invalid argument > {code} > 2018-08-10 21:19:55,523 [ERROR] [ServiceThread:DAGClientRPCServer] |client.DAGClientServer|: Failed to start DAGClientServer: > java.net.SocketException: Call From 0.0.0.0 to null:0 failed on socket exception: java.net.SocketException: Invalid argument; For more details see: http://wiki.apache.org/hadoop/SocketException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:804) > at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:777) > at org.apache.hadoop.ipc.Server.bind(Server.java:563) > at org.apache.hadoop.ipc.Server$Listener.(Server.java:958) > at org.apache.hadoop.ipc.Server.(Server.java:2657) > at org.apache.hadoop.ipc.RPC$Server.(RPC.java:968) > at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.(ProtobufRpcEngine.java:367) > at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:342) > at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:810) > at org.apache.tez.dag.api.client.DAGClientServer.createServer(DAGClientServer.java:134) > at org.apache.tez.dag.api.client.DAGClientServer.serviceStart(DAGClientServer.java:82) > at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193) > at org.apache.tez.dag.app.DAGAppMaster$ServiceWithDependency.start(DAGAppMaster.java:1909) > at org.apache.tez.dag.app.DAGAppMaster$ServiceThread.run(DAGAppMaster.java:1930) > Caused by: java.net.SocketException: Invalid argument > at sun.nio.ch.Net.bind0(Native Method) > at sun.nio.ch.Net.bind(Net.java:433) > at sun.nio.ch.Net.bind(Net.java:425) > at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) > at org.apache.hadoop.ipc.Server.bind(Server.java:553) > ... 11 more > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)