Cloudera CDH上的Impala“无法创建日志文件:权限被拒绝”

时间:2013-03-26 20:05:51

标签: hadoop cloudera

我通过CDH 4.2.0-1.cdh4.2.0.p0.10群集中Cloudera Manager 4.5中的parcel安装了Impala。

当我尝试启动该服务时,它会在所有带有此消息的节点上失败

    perl -pi -e 's#{{CMF_CONF_DIR}}#/run/cloudera-scm-agent/process/800-impala-IMPALAD#g' /run/cloudera-scm-agent/process/800-impala-IMPALAD/impala-conf/impalad_flags
    '[' impalad = impalad ']'
    exec /opt/cloudera/parcels/IMPALA-0.6-1.p0.109/lib/impala/../../bin/impalad --flagfile=/run/cloudera-scm-agent/process/800-impala-IMPALAD/impala-conf/impalad_flags
Could not create logging file: Permission denied
COULD NOT CREATE A LOGGINGFILE 20130326-204959.15015!log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/impalad/impalad.INFO (Permission denied)
    at java.io.FileOutputStream.openAppend(Native Method)
...
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
    at org.apache.hadoop.fs.FileSystem.<clinit>(FileSystem.java:92)
+ date

Complete StdErr Log

我不确定权限问题是否导致Impala未运行或是否有其他问题崩溃且权限问题刚刚出现,因为无法写入崩溃日志。

任何帮助都会很棒!

1 个答案:

答案 0 :(得分:0)

按照此处所述从调试二进制文件运行impala:

https://issues.cloudera.org/browse/IMPALA-160

似乎与内核12.04.1 LTS中的JVM有关

原始答案:https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!topic/impala-user/4MRZYbn5hI0