Hi Ted.

I'm running Windows 7, 32 bit version, and Java SDK 1.7.0

I installed Apache drill according to instructions here:

https://drill.apache.org/docs/installing-drill-on-windows/

I adjusted there instructions a bit according to Tomer's suggestions.

I start drill according to:

https://drill.apache.org/docs/starting-drill-on-windows/

Here's the command and stack trace:


C:\devel\apache-drill-1.4.0\bin>sqlline.bat -u "jdbc:drill:zk=local"
DRILL_ARGS - " -u jdbc:drill:zk=local"
HADOOP_HOME not detected...
HBASE_HOME not detected...
Calculating Drill classpath...
Error: Failure in starting embedded Drillbit: java.lang.RuntimeException:
Unable to deserialize "/tmp/drill/sys.storage_plugins/hive.sys.drill"
(state=,code=0)
java.sql.SQLException: Failure in starting embedded Drillbit:
java.lang.RuntimeException: Unable to deserialize
"/tmp/drill/sys.storage_plugins/hive.sys.drill"
        at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:127)
        at
org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:64)
        at
org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
        at
net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
        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.connect(Commands.java:1083)
        at sqlline.Commands.connect(Commands.java:1015)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
        at sqlline.SqlLine.dispatch(SqlLine.java:742)
        at sqlline.SqlLine.initArgs(SqlLine.java:528)
        at sqlline.SqlLine.begin(SqlLine.java:596)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
Caused by: java.lang.RuntimeException: Unable to deserialize
"/tmp/drill/sys.storage_plugins/hive.sys.drill"
        at
org.apache.drill.exec.store.sys.local.FilePStore.get(FilePStore.java:140)
        at
org.apache.drill.exec.store.sys.local.FilePStore$Iter$DeferredEntry.getValue(FilePStore.java:219)
        at
org.apache.drill.exec.store.StoragePluginRegistry.createPlugins(StoragePluginRegistry.java:197)
        at
org.apache.drill.exec.store.StoragePluginRegistry.init(StoragePluginRegistry.java:161)
        at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:213)
        at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:118)
        ... 18 more
Caused by: com.fasterxml.jackson.databind.JsonMappingException: No content
to map due to end-of-input
 at [Source: [B@6d9696; line: 1, column: 1]
        at
com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
        at
com.fasterxml.jackson.databind.ObjectReader._initForReading(ObjectReader.java:1351)
        at
com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1252)
        at
com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:912)
        at
org.apache.drill.exec.store.sys.serialize.JacksonSerializer.deserialize(JacksonSerializer.java:44)
        at
org.apache.drill.exec.store.sys.local.FilePStore.get(FilePStore.java:138)
        ... 23 more
apache drill 1.4.0
"the only truly happy people are children, the creative minority and drill
users"
0: jdbc:drill:zk=local>

*SAME ERROR OCCURS ON SHUTDOWN*

0: jdbc:drill:zk=local> !quit
Error: Failure in starting embedded Drillbit: java.lang.RuntimeException:
Unable to deserialize "/tmp/drill/sys.storage_plugins/hive.sys.drill"
(state=,code=0)
Error: Failure in starting embedded Drillbit: java.lang.RuntimeException:
Unable to deserialize "/tmp/drill/sys.storage_plugins/hive.sys.drill"
(state=,code=0)




On Thu, Dec 31, 2015 at 4:33 PM, Ted Dunning <[email protected]> wrote:

> Can you say a bit more about your platform and environment?
>
> What about the errors you are seeing?
>
>
>
> On Thu, Dec 31, 2015 at 9:32 AM, Peder Jakobsen | gmail <
> [email protected]
> > wrote:
>
> > Hi, does hadoop have to be installed in order to run apache drill on
> > windows?
> >
> > So far, I'm 3 hours into "Run Apache Drill in 10 Minutes", and still no
> > luck.  Once I figure it out, I will update the documentation for windows
> if
> > you like.
> >
> > Thanks,
> >
> > Peder J.
> >
>

Reply via email to