我在具有3个节点的群集上安装apache drill。 当我使用以下命令启动它时,它不会真正运行。
bin/drillbit.sh start
错误
我不知道如何解决它并希望你帮忙。
动物园管理员没有问题。
然后我检查日志,它显示以下信息:
Exception in thread "main" org.apache.drill.exec.exception.DrillbitStartupException: Failure while initializing values in Drillbit.
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:287)
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:271)
at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:267)
Caused by: org.apache.drill.exec.exception.DrillbitStartupException: Problem in finding the native library of JPAM (Pluggable Authenticator Module API). Make sure to set Drillbit JVM option 'java.library.path' to point to the directory where the native JPAM exists.:no jpam in java.library.path
我检查java.library.path,它是以下内容:
/home/hadoop/bigdata/hadoop-2.7.2/lib/native/::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
所以,我添加了以下设置:
declare -x DRILL_JAVA_LIB_PATH="/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"
然而,它不起作用,并像以前一样出现同样的问题。
答案 0 :(得分:0)
您提供的declare -x DRILL_JAVA_LIB_PATH
代码段不会将钻取点指向pam库。请按照此处https://drill.apache.org/docs/using-jpam-as-the-pam-authenticator/
注意:您必须在群集的所有3个节点上执行这些步骤。