我试图在我的机器上钻取并运行。但是,每当我进入钻取嵌入模式(bin / drill-embedded on Bash)时,我都会收到此错误:
Error: Failure in starting embedded Drillbit: java.lang.IllegalStateException: Local udf directory [/tmp/drill/udf/udf/local] must be writable for application user (state=,code=0)
如果我此时尝试运行查询,它会回复:
No current connection
知道怎么解决这个问题吗?我尝试过一个没有运气的干净外壳。这是权限问题吗?
答案 0 :(得分:1)
您必须为目录/tmp/drill/udf/udf/local
提供写访问权限。由于它是/tmp
中的目录,因此您可能需要root权限才能授予权限,或者您必须使用sudo
。要获得许可,请使用:
chmod 777 -R /tmp/drill/udf/udf/local
还要确保用户对父目录至少具有读取权限,否则您将再次收到权限被拒绝错误。