I should have looked little harder through the logs before replying. Seems like you are running with a JRE and getting hit by DRILL-1919[1].
This is fixed in the latest code hence you could either use the nightly build or switch to JDK for running Drill. [1] https://issues.apache.org/jira/browse/DRILL-1919 On Sat, Jan 24, 2015 at 1:00 PM, Aditya <[email protected]> wrote: > Thanks for the debug log. Unfortunately there is not much new info in it. > Seems like it is a new issue not seen in the past and the error is masked. > > The query execution quickly moves from planning to failure > > 2015-01-24 09:52:29,808 [2b3c4e51-85c4-5290-c92e-e9e8b8cb59e0:foreman] > DEBUG o.a.d.exec.memory.TopLevelAllocator - New child allocator with > initial reservation 1000000 > 2015-01-24 09:52:29,821 [2b3c4e51-85c4-5290-c92e-e9e8b8cb59e0:foreman] > DEBUG o.a.drill.exec.work.foreman.Foreman - State change requested. > PENDING --> FAILED > > Would it be possible for you to try the latest code. If you can not build > Drill from sources, latest nightly builds can be downloaded from Apache > build server <https://builds.apache.org/job/drill-scm/>. > > This way if you still hit this problem, we can quickly provide debug > patches to investigate. > > aditya... > > On Sat, Jan 24, 2015 at 7:44 AM, Minnow Noir <[email protected]> wrote: > >> >> >> Thanks for responding Aditya. >> >> I reran with log level set to debug. Log is attached. >> >> Thanks for any guidance you can provide. >> >> >> ---------- Forwarded message ---------- >>> From: Aditya <[email protected]> >>> To: user <[email protected]> >>> Cc: >>> Date: Fri, 23 Jan 2015 19:46:05 -0800 >>> Subject: Re: Drill 0.7 | Every query hangs >>> The actual error is getting masked somewhere. Could you please enable >>> DEBUG >>> logging, restart drill, re-run the query and post here any other error >>> message you see. >>> >>> In $DRILL_HOME/conf/logback.xml, change >>> >>> <logger name="org.apache.drill" additivity="false"> >>> <level value="info" /> >>> <appender-ref ref="FILE" /> >>> </logger> >>> >>> to >>> >>> <logger name="org.apache.drill" additivity="false"> >>> <level value="debug" /> >>> <appender-ref ref="FILE" /> >>> </logger> >>> >>> >>> >>> On Fri, Jan 23, 2015 at 5:12 PM, Minnow Noir <[email protected]> >>> wrote: >>> >>> > I'm trying to follow the "Drill in 10 Minutes" tutorial because Drill >>> keeps >>> > hanging. >>> > >>> > I have Java 7 installed on my Fedora 20 workstation. >>> > >>> > I downloaded 0.7 and dropped it at /opt/apache-drill-0.7.0/ . >>> > >>> > When I run Drill per the tutorial, it starts fine: >>> > >>> > bin/sqlline -u jdbc:drill:zk=local >>> > Jan 23, 2015 8:01:59 PM org.glassfish.jersey.server.ApplicationHandler >>> > initialize >>> > INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29 >>> > 01:25:26... >>> > sqlline version 1.1.6 >>> > 0: jdbc:drill:zk=local> >>> > >>> > However, if I try to do any type of query, it just hangs >>> indefinitely. I >>> > can't even use CTRL-C or CTRL-D to kill the sqlline session. I have to >>> > kill the process. >>> > >>> > SELECT * FROM cp.`employee.json`; >>> > >>> > >>> > I see the following error in the logs: >>> > >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit >>> > >>> > >>> environment:.java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.java.io.tmpdir=/tmp >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.java.compiler=<NA> >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.os.name=Linux >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.os.arch=amd64 >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.os.version=3.11.10 >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.user.name=user >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.user.home=/home/user >>> > 2015-01-23 20:01:56,735 [main] INFO >>> o.apache.drill.exec.server.Drillbit - >>> > Drillbit environment:.user.dir=/opt/apache-drill-0.7.0 >>> > 2015-01-23 20:06:09,820 [WorkManager-1] ERROR >>> > o.apache.drill.exec.work.WorkManager - Failure while running wrapper >>> > [Foreman: 2b3d0ffe-7960-ed95-f21f-8de0052e701f] >>> > java.lang.NullPointerException: null >>> > at >>> > >>> > >>> org.apache.drill.exec.work.foreman.Foreman.cancelExecutingFragments(Foreman.java:483) >>> > ~[drill-java-exec-0.7.0-rebuffed.jar:0.7.0] >>> > at >>> > >>> org.apache.drill.exec.work.foreman.Foreman.moveToState(Foreman.java:436) >>> > ~[drill-java-exec-0.7.0-rebuffed.jar:0.7.0] >>> > at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:194) >>> > ~[drill-java-exec-0.7.0-rebuffed.jar:0.7.0] >>> > at >>> > >>> > >>> org.apache.drill.exec.work.WorkManager$RunnableWrapper.run(WorkManager.java:254) >>> > ~[drill-java-exec-0.7.0-rebuffed.jar:0.7.0] >>> > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown >>> Source) >>> > [na:1.7.0_45] >>> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown >>> Source) >>> > [na:1.7.0_45] >>> > at java.lang.Thread.run(Unknown Source) [na:1.7.0_45] >>> > >>> > >>> > Any ideas? >>> > >>> > Thanks! >>> > >>> >>> >> >> >
