Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-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 57E751002E for ; Sun, 28 Dec 2014 23:31:20 +0000 (UTC) Received: (qmail 2061 invoked by uid 500); 28 Dec 2014 23:31:20 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 2029 invoked by uid 500); 28 Dec 2014 23:31:20 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 2019 invoked by uid 99); 28 Dec 2014 23:31:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Dec 2014 23:31:20 +0000 Date: Sun, 28 Dec 2014 23:31:20 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1856) inability to run Drill under certain networking conditions 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/DRILL-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau updated DRILL-1856: ---------------------------------- Fix Version/s: Future > inability to run Drill under certain networking conditions > ---------------------------------------------------------- > > Key: DRILL-1856 > URL: https://issues.apache.org/jira/browse/DRILL-1856 > Project: Apache Drill > Issue Type: Improvement > Components: Execution - RPC > Environment: OSX on wifi away from the office > Reporter: Chris Westin > Assignee: Chris Westin > Fix For: Future > > > At the office, Drill starts up fine, but when running it from home, I get an exception when it tries to start up the (embedded) drill bit: > java.net.UnknownHostException: wormsign.domain: wormsign.domain: nodename nor servname provided, or not known > at java.net.InetAddress.getLocalHost(InetAddress.java:1473) > at org.apache.drill.exec.service.ServiceEngine.start(ServiceEngine.java:62) > at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:152) > at org.apache.drill.exec.physical.impl.join.TestMergeJoinMulCondition.testMergeJoinInnerNullKey(TestMergeJoinMulCondition.java:81) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.lang.reflect.Method.invoke(Method.java:606) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) > at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at ..... > This can be worked around with a combination of > diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java > index ce109d9..3128d5e 100644 > --- a/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java > +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java > @@ -64,8 +64,8 @@ public class ServiceEngine implements Closeable{ > int userPort = userServer.bind(config.getInt(ExecConstants.INITIAL_USER_PORT), allowPortHunting); > String address = useIP ? InetAddress.getLocalHost().getHostAddress() : InetAddress.getLocalHost().getCanonicalHostName(); > DrillbitEndpoint partialEndpoint = DrillbitEndpoint.newBuilder() > - .setAddress(address) > + .setAddress("localhost") > .setUserPort(userPort) > .build(); > and commenting out the line that calls InetAddress.getLocalhost()..... -- that's where the exception is coming from for me. -- This message was sent by Atlassian JIRA (v6.3.4#6332)