【发布时间】:2017-06-26 17:50:54
【问题描述】:
我正在尝试在 Windows 10 x64(使用 Oracle JVM 1.8.0_131)上以嵌入式模式启动 Apache Drill 1.10。启动命令时
sqlline.bat -u "jdbc:drill:zk=local"
我得到以下信息:
Error during udf area creation [/C:/Users/<user>/drill/udf/registry] on file system [file:///] (state=,code=0)
所以,经过一番谷歌搜索后,我以这种方式更改了 Drill-override.conf 文件:
drill.exec: {
cluster-id: "drillbits1",
zk.connect: "localhost:2181",
udf: {
# number of retry attempts to update remote function registry
# if registry version was changed during update
retry-attempts: 10,
directory: {
# Override this property if custom file system should be used to create remote directories
# instead of default taken from Hadoop configuration
fs: "file:///",
# Set this property if custom absolute root should be used for remote directories
root: "/c:/work"
}
}
}
然后我检查了以下内容:
- 在文件夹上设置了适当的权限
- 控制台以管理员身份启动
但我仍然遇到同样的错误:
Error during udf area creation [/c:/work/drill/udf/registry] on file system [file:///] (state=,code=0)
我无法禁用 UDF,因为我没有活动连接。
有什么建议吗?
【问题讨论】:
标签: apache-drill