Windows 10上的Apache Drill 1.17.0-运行Drill时出现问题(嵌入式模式)



详细信息:

  • Apache Drill 1.17.0

  • Windows 10 64位

  • Java JDK1.8.0_241

新安装。无法成功加载Apache Drill。

命令行:c:\Users\floodb\Software\Drill\apache-Drill-1.17.0\bin>Drill嵌入式

收到错误错误:启动嵌入式Drillbit失败:UNSUPPORTED_OPERATION错误:尝试加载在路径drill.exec.storage.registry请求的org.apache.drill.exec.store.StoragePluginRegistry类型的类的实例时失败。

[错误Id:7c1b33eb-7a27-4e39-af06-5ba22e5ffae6](状态=,代码=0)java.sql.sql异常:启动嵌入式Drillbit失败:UNSUPPORTED_OPERATION错误:尝试加载在路径drill.exec.store.StoragePluginRegistry请求的org.apache.drill.exec.store类型的类的实例时失败。

没有"hadoop_home"环境变量集(正如StackOverflow上的其他帖子所建议的那样)。

部分日志:

2020-02-19 15:55:42315[main]信息o.a.drill.common.util.GuavaPatcher-谷歌的秒表旧的HBase Guava版本。2020-02-19 15:55:42319[主要]信息o.a.drill.common.util.GuavaPatcher-谷歌的Closeables补丁旧的HBase Guava版本。2020-02-19 15:55:42333[主要]信息o.a.drill.common.util.GuavaPatcher-谷歌的前提条件是修补以容纳新方法。2020-02-19 15:55:42693[主要]信息o.a.drill.common.config.DrillConfig-配置和插件文件在32ms内识别。基本配置:-jar:file:/C:\Users/floodb/Software/Drill/apache-Drill-1.17.0/jars/Drill-common--1.17.0.jar/钻取故障.conf

(日志行束已删除)

2020-02-19 15:55:45134[主要]信息o.a.d.c.s.persistence.ScanResult-为org.apache.drill.common.logical.data.LogicalOperator加载22个类耗时4ms2020-02-19 15:55:45138[主要]信息o.a.d.c.s.persistence.ScanResult-为org.apache.drill.common.logical.StoragePluginConfig加载12个类耗时3ms2020-02-19 15:55:45146[主]信息o.a.d.c.s.persistence.ScanResult-为org.apache.drill.common.logical.FormatPluginConfig加载15个类花费了7毫秒2020-02-1915:55:45179[主]信息o.a.drill.common.config.DrillConfig-用户出现错误:尝试加载类的实例时失败在请求了org.apache.drill.exec.store.StoragePluginRegistry类型路径drill.exec.story.registry。(null)org.apache.drill.common.exceptions.UserException:UNSUPPORTED_OPERATION错误:尝试加载实例时失败属于org.apache.drille.exec.store.StoragePluginRegistry类型的类请求的路径为drill.exec.story.registry.

[错误Id:7c1b33eb-7a27-4e39-af06-5ba22e5ffae6]org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:637)在org.apache.drill.common.config.DrillConfig.getInstance(DrillConfig.java:92)在org.apache.drill.exec.server.DrillbitContext.(DrillbitContext.java:113)网址:org.apache.drill.exec.work.WorkManager.start(WorkManager.java:116)网址:org.apache.drill.exec.server.Drillbit.run(Drillbit.java:221)org.apache.drill.jdbc.impl.DrillConnectionImpl.(DrillConnectionImpl.java:134)在org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Dactory.java:67)在org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:67)在org.apache.calcate.avatica.UnregistedDriver.connect(UnregisteredDriver.java:138)网址:org.apache.drill.jdbc.Driver.connect(Driver.java:75)sqlline。位于的DatabaseConnection.connect(DatabaseConnection.java:135)sqlline。DatabaseConnection.getConnection(DatabaseConnection.java:192)在sqlline。Commands.connect(Commands.java:1364)位于sqlline。Commands.connect(Commands.java:1249)位于位于的sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)位于java.lang.reflect.Method.ioke(Method.java:498)sqlline。ReflectiveCommandHandler.execute(ReflectiveCommand Handler.java:38)在sqlline。位于的SqlLine.dispatch(SqlLine.java:730)sqlline。位于的SqlLine.initArgs(SqlLine.java:410)sqlline。位于的SqlLine.beggin(SqlLine.java:515)sqlline。位于的SqlLine.start(SqlLine.java:267)sqlline。SqlLine.main(SqlLine.java:206)原因:java.lang.reflect.InvocationTargetException:处为nullsun.reflect.NativeConstructorAccessorImpl.newInstance0(本机方法)在sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:62)在sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessor Impl.java:45)位于java.lang.reflect.Constructure.newInstance(Constructor.java:423)在org.apache.drill.common.config.DrillConfig.getInstance(DrillConfig.java:88)…省略了22个常见帧,原因如下:java.lang.UnsisfiedLinkError:org.apache.hoop.io.nativeio.nativeio$Windows.access0(Ljava/lang/String;I)Z网址:org.apache.hoop.io.nativeio.nativeio$Windows.access0(Native方法)org.apache.hoop.io.nativeio.nativeio$Windows.access(nativeio.java:645)网址:org.apache.hoop.fs.FileUtil.canRead(FileUtil.java:1230)org.apache.hoop.fs.FileUtil.list(FileUtil.java:1435)org.apache.hadop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:493)网址:org.apache.hoop.fs.FileSystem.listStatus(FileSystem.java:1868)网址:org.apache.hoop.fs.FileSystem.listStatus(FileSystem.java:1910)在org.apache.hadop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:678)网址:org.apache.hoop.fs.FileSystem.listStatus(FileSystem.java:1868)网址:org.apache.hoop.fs.FileSystem.listStatus(FileSystem.java:1910)在org.apache.drill.exc.store.dfs.DrillFileSystem.listStatus(DrillFileSystem.java:563)在org.apache.drill.exec.util.FileSystemUtil.listNonRecursive(FileSystemUtil.java:224)在org.apache.drill.exec.util.FileSystemUtil.list(FileSystemUtil.java:209)在org.apache.drill.exec.util.FileSystemUtil.listFiles(FileSystemUtil.java:104)在org.apache.drill.exc.util.DrillFileSystemUtil.listFiles(DrillFileSystemUtil.java:86)在org.apache.drill.exec.store.sys.store.LocalPersistentStore.getRange(LocalPersistentSstore.java:121)在org.apache.drill.exec.store.sys.BasePersistentStore.getAll(BasePersistentSstore.java:27)在org.apache.drill.exec.store.StoragePluginRegistryImpl.initPluginsSystemTable(StoragePluginRegistryImpl.java:277)在org.apache.drill.exec.store.StoragePluginRegistryImpl.(StoragePluginRegistryImpl.java:90)…省略了27个常见帧2020-02-19 15:55:46199[主]信息o.apache.drill.exec.server.Drillbit-关闭已完成(1018毫秒)。

问题是安装了32位版本的Java JDK。如果您遇到此问题,请检查以确保安装了64位版本的Java。

最新更新