drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorabh Hamirwasia <shamirwa...@mapr.com>
Subject Re: drill in 10 minutes tutorial problem with osx
Date Fri, 26 Jan 2018 19:45:33 GMT
Hi Teemu,

Thanks for trying out Drill. Did you downloaded the tar-ball from provided link in the tutorial
? I just tried on osx and it's working fine for me.


>From the error looks like one of the class DrillConfig is missing at runtime. Can you
please check the following:

1) If the drill-common-1.12.0.jar exists under apache-drill-1.12.0/jars location which should
be in your classpath?

2) If yes please also check the permission for that jar.

3) Are there multiple versions of this jar in your classpath by any chance ?


Thanks,
Sorabh


________________________________
From: teemu@pentinsaari.fi <teemu@pentinsaari.fi>
Sent: Friday, January 26, 2018 12:32 AM
To: user@drill.apache.org
Subject: drill in 10 minutes tutorial problem with osx

Hi all,

I'm trying to follow the 10 minutes tutorial and I get stuck right
away...

https://urldefense.proofpoint.com/v2/url?u=https-3A__drill.apache.org_docs_drill-2Din-2D10-2Dminutes_&d=DwICAg&c=cskdkSMqhcnjZxdQVpwTXg&r=gRpEl0WzXE3EMrwj0KFbZXGXRyadOthF2jlYxvhTlQg&m=_NRyS96XPCPEV01sNaEGgWHk8mSzUH8Ux46mreI12tM&s=cW55bVqhXyTgqaWflcJvBtoEHthIX9NXCAhzphYxG9o&e=

Everything works just fine with my ubuntu box, but with osx, this is all
I get

$ bin/drill-embedded
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize;
support was removed in 8.0
sun/misc/VM
apache drill 1.12.0
"just drill it"
0: jdbc:drill:zk=local> SELECT * FROM cp.`employee.json` LIMIT 3;
No current connection
0: jdbc:drill:zk=local> !list
1 active connection:
  #0  closed   jdbc:drill:zk=local
0: jdbc:drill:zk=local> !quit
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.drill.common.config.DrillConfig
        at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:124)
        at
org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:72)
        at
org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
        at
org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:144)
        at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at
sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.close(Commands.java:925)
        at sqlline.Commands.quit(Commands.java:889)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
        at sqlline.SqlLine.dispatch(SqlLine.java:742)
        at sqlline.SqlLine.begin(SqlLine.java:621)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not
initialize class org.apache.drill.common.config.DrillConfig
        at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:124)
        at
org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:72)
        at
org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
        at
org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:144)
        at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at
sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.close(Commands.java:925)
        at sqlline.Commands.closeall(Commands.java:899)
        at sqlline.SqlLine.begin(SqlLine.java:649)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)

What's going on here? Am I missing something obvious? All help is
appreciated!


Teemu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message