I think that patch is outdated. Maybe you need to do a little bit manual modification. Thanks for trying it out.
Sent from my iPhone > On Aug 20, 2015, at 1:55 PM, Edmon Begoli <[email protected]> wrote: > > I tried applying the patch. Did not work: > (maybe the solution is to try manual patching, if that even applies) > > <my computer>% git am < drill-1865.patch > > Applying: handle UnknownHoseException > > error: patch failed: > exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java:46 > > error: > exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java: > patch does not apply > > Patch failed at 0001 handle UnknownHoseException > > The copy of the patch that failed is found in: > > /Users/<my handle>/src/drill/.git/rebase-apply/patch > > When you have resolved this problem, run "git am --continue". > > If you prefer to skip this patch, run "git am --skip" instead. > > To restore the original branch and stop patching, run "git am --abort". > >> On Thu, Aug 20, 2015 at 4:10 PM, USC <[email protected]> wrote: >> >> Hi Edmon, >> I think you are right. It comes from the same reason of that JIRA. Can you >> try to use the work around in that JIRA? Please let us know if it works. >> >>> On Aug 20, 2015, at 11:29 AM, Edmon Begoli <[email protected]> wrote: >>> >>> When I try to build Drill from source, I get a failure on test and what >> it >>> appears to be a hostname resolution error (Excerpt below). I am running >>> this on my home Wifi. >>> >>> Is this somehow related to DRILL-1856? >>> >>> Any suggestions how to fix this? >>> (let me know if you need a full, debug-enabled log) >>> >>> Error log excerpt >>> >>> >>> Running org.apache.drill.TestSchemaChange >>> >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.459 sec >>> <<< FAILURE! - in org.apache.drill.TestProjectPushDown >>> >>> org.apache.drill.TestProjectPushDown Time elapsed: 4.459 sec <<< ERROR! >>> >>> java.net.UnknownHostException: EB-MacBook-Pro: EB-MacBook-Pro: nodename >> nor >>> servname provided, or not known >>> >>> at java.net.InetAddress.getLocalHost(InetAddress.java:1475) >>> >>> at >> org.apache.drill.exec.service.ServiceEngine.start(ServiceEngine.java:66) >>> >>> at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:243) >>> >>> at org.apache.drill.BaseTestQuery.openClient(BaseTestQuery.java:181) >>> >>> at >> org.apache.drill.BaseTestQuery.setupDefaultTestCluster(BaseTestQuery.java:117) >>> >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> >>> at >> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) >>> >>> at >> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) >>> >>> at >> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) >>> >>> at >> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) >>> >>> at >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) >>> >>> at >> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) >>> >>> Caused by: java.net.UnknownHostException: EB-MacBook-Pro: nodename nor >>> servname provided, or not known >>> >>> at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) >>> >>> at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) >>> >>> at >> java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1295) >>> >>> at java.net.InetAddress.getLocalHost(InetAddress.java:1471) >>> >>> at >> org.apache.drill.exec.service.ServiceEngine.start(ServiceEngine.java:66) >>> >>> at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:243) >>> >>> at org.apache.drill.BaseTestQuery.openClient(BaseTestQuery.java:181) >>> >>> at >> org.apache.drill.BaseTestQuery.setupDefaultTestCluster(BaseTestQuery.java:117) >>> >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> >>> at >> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) >>> >>> at >> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) >>> >>> at >> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) >>> >>> at >> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) >>> >>> at >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) >>> >>> >>> >>> Tests run: 351, Failures: 0, Errors: 175, Skipped: 30 >>> >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [INFO] Reactor Summary: >>> >>> [INFO] >>> >>> [INFO] Apache Drill Root POM .............................. SUCCESS [ >>> 4.816 s] >>> >>> [INFO] Drill Protocol ..................................... SUCCESS [ >>> 6.848 s] >>> >>> [INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [ >>> 9.606 s] >>> >>> [INFO] contrib/Parent Pom ................................. SUCCESS [ >>> 0.397 s] >>> >>> [INFO] contrib/data/Parent Pom ............................ SUCCESS [ >>> 0.342 s] >>> >>> [INFO] contrib/data/tpch-sample-data ...................... SUCCESS [ >>> 2.659 s] >>> >>> [INFO] exec/Parent Pom .................................... SUCCESS [ >>> 0.616 s] >>> >>> [INFO] exec/Java Execution Engine ......................... FAILURE >> [09:59 >>> min] >>> >>> [INFO] exec/JDBC Driver using dependencies ................ SKIPPED >>> >>> [INFO] JDBC JAR with all dependencies ..................... SKIPPED >>> >>> [INFO] contrib/mongo-storage-plugin ....................... SKIPPED >>> >>> [INFO] contrib/hbase-storage-plugin ....................... SKIPPED >>> >>> [INFO] contrib/hive-storage-plugin/Parent Pom ............. SKIPPED >>> >>> [INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SKIPPED >>> >>> [INFO] contrib/hive-storage-plugin/core ................... SKIPPED >>> >>> [INFO] Packaging and Distribution Assembly ................ SKIPPED >>> >>> [INFO] contrib/sqlline .................................... SKIPPED >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [INFO] BUILD FAILURE >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [INFO] Total time: 10:24 min >>> >>> [INFO] Finished at: 2015-08-20T >>
