Ah, good find.  Thank you.  I installed JDK 1.8, made the switch in
alternatives, and was able to run the sample query.

Before I saw this email, I tried to download older versions, but found  the
download links broken.  The 0.6 release notes point to the 0.5 binaries,
but none of the download (HTTP or FTP) links on any of the mirrors resolved
for me.  The 0.4 release notes point to the correct version (0.4), but the
download links didn't work either.  I then downloaded the 0.7 source, but
the build failed (see below), so I'm glad you caught the JRE thing.

Thanks again for the help.

---

<snip>
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Drill Root POM ............................. SUCCESS
[1:14.236s]
[INFO] Drill Protocol .................................... SUCCESS [16.793s]
[INFO] Common (Logical Plan, Base expressions) ........... SUCCESS
[1:24.055s]
[INFO] contrib/Parent Pom ................................ SUCCESS [0.308s]
[INFO] contrib/data/Parent Pom ........................... SUCCESS [0.249s]
[INFO] contrib/data/tpch-sample-data ..................... SUCCESS [25.744s]
[INFO] exec/Parent Pom ................................... SUCCESS [0.253s]
[INFO] exec/Java Execution Engine ........................ SUCCESS
[9:35.962s]
[INFO] contrib/hive-storage-plugin/Parent Pom ............ SUCCESS [0.224s]
[INFO] contrib/hive-storage-plugin/hive-exec-shaded ...... SUCCESS
[1:26.399s]
[INFO] contrib/hive-storage-plugin/core .................. SUCCESS
[1:47.861s]
[INFO] exec/JDBC Driver using dependencies ............... SUCCESS
[4:02.240s]
[INFO] JDBC JAR with all dependencies .................... SUCCESS
[1:19.243s]
[INFO] exec/Drill expression interpreter ................. SUCCESS [42.938s]
[INFO] contrib/mongo-storage-plugin ...................... SUCCESS [5.787s]
[INFO] contrib/hbase-storage-plugin ...................... FAILURE [54.509s]
[INFO] Packaging and Distribution Assembly ............... SKIPPED
[INFO] contrib/sqlline ................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 23:19.312s
[INFO] Finished at: Sun Jan 25 10:46:05 EST 2015
[INFO] Final Memory: 101M/777M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on
project drill-storage-hbase: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/user/Projects/git/drill/contrib/storage-hbase/target/surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :drill-storage-hbase



On Sat, Jan 24, 2015 at 4:03 PM, Aditya <[email protected]> wrote:

> 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!
> >>> >
> >>>
> >>>
> >>
> >>
> >
>

Reply via email to