我试图在Windows 7上运行Apache Drill,我有在文档中提供的要求,但是当我在terminal中运行它,我得到这个错误:
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
当我去tmp文件夹时,我只find一个文件
有谁知道如何解决这一问题 ? 谢谢
删除/移动文件夹/tmp/drill/sys.storage_plugins
并重新启动钻取。 它将在开始演练时创建文件夹,现在通过比较新老来找到问题。 它为我工作。
谢谢大家,当我用另一台计算机在同一个位置创建的文件替换/tmp/drill/sys.storage_plugins时,它工作,我仍然不知道为什么这个人不能创建所有的文件,但至少现在它的作品!