[
https://issues.apache.org/jira/browse/DRILL-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013454#comment-15013454
]
Nirav Shah commented on DRILL-2158:
-----------------------------------
I am getting similar issue with Drill 1.1.0 version.
D:\apache-drill-1.1.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/dfs.sys.drill"
(state=,code=0)
java.sql.SQLException: Failure in starting embedded Drillbit:
java.lang.RuntimeException: Unable to deserialize
"/tmp/drill/sys.storage_plugins/dfs.sys.drill"
at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:109)
at
org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:66)
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:78)
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:734)
at sqlline.SqlLine.initArgs(SqlLine.java:519)
at sqlline.SqlLine.begin(SqlLine.java:587)
at sqlline.SqlLine.start(SqlLine.java:366)
at sqlline.SqlLine.main(SqlLine.java:259)
Caused by: java.lang.RuntimeException: Unable to deserialize
"/tmp/drill/sys.storage_plugins/dfs.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:168)
at
org.apache.drill.exec.store.StoragePluginRegistry.init(StoragePluginRegistry.java:132)
at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:244)
at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:100)
... 18 more
Caused by: com.fasterxml.jackson.databind.JsonMappingException: No content to
map due to end-of-input
at [Source: [B@6c8d3583; 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.0.0
"got drill?"
> Failure while attempting to start Drillbit in embedded mode.
> --------------------------------------------------------------
>
> Key: DRILL-2158
> URL: https://issues.apache.org/jira/browse/DRILL-2158
> Project: Apache Drill
> Issue Type: Bug
> Components: Tools, Build & Test
> Affects Versions: 0.7.0
> Environment: Linux Master.hadoop 2.6.32-431.23.3.el6.x86_64 #1 SMP
> Thu Jul 3117:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> CentOS release 6.5 (Final)
> Reporter: kun22kun
> Assignee: Chun Chang
> Priority: Minor
> Labels: github-import, maven
> Fix For: 1.0.0
>
>
> First, I install my drill according to
> “https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+in+10+Minutes”.
> When to start my drill via "bin/sqlline -u jdbc:drill:zk=local -n admin -p
> admin",
> It shows
> "Error: Failure while attempting to start Drillbit in embedded mode.
> (state=,code=0)
> sqlline version 1.1.6
> 0: jdbc:drill:zk=local>"
> Then I install my drill with maven according to "INSTALL.md" in the source
> from github. But the same result like above.
> Finally , in the path "tmp/drill/", there's nothing, do I need to create by
> myself?
> Is it necessary to build a distributed system for example hadoop?
> Much apperaite!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)