0

我在尝试构建 Hue 时得到以下信息:

(6211) *** Controller starting at Thu Aug  8 11:29:50 2013
Should start 1 new children
Controller.spawn_children(number=1)
$HADOOP_HOME=
$HADOOP_BIN=/usr/local/hadoop/bin/hadoop
$HIVE_CONF_DIR=~/hive-0.10.0/conf
$HIVE_HOME=~/hive-0.10.0
find: `~/hive-0.10.0/lib': No such file or directory
$HADOOP_CLASSPATH=:
$HADOOP_OPTS=-Dlog4j.configuration=log4j.properties
$HADOOP_CONF_DIR=~/hive-0.10.0/conf:/usr/local/hadoop/conf
$HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce
CWD=/usr/local/hue/desktop/conf
Executing /usr/local/hadoop/bin/hadoop jar /usr/local/hue/apps/beeswax/src/beeswax/../../java-lib/BeeswaxServer.jar --beeswax 8002 --desktop-host 127.0.0.1 --desktop-port 8888 --query-lifetime 604800000 --metastore 8003
Exception in thread "main" java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createTempFile(File.java:1879)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:119)

我已经更改了配置文件,因此它不使用色调,但我登录的用户在 hadoop dfs、hadoop、hive 等中具有读写权限。不知道为什么这样做......

4

1 回答 1

0

似乎它开始在 /usr/local/hue/desktop/conf 中启动 Beeswax。默认情况下,蜂蜡应以“hue”用户身份运行(https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/supervisor.py#L67),因此它需要由'色调'。

于 2013-08-08T19:48:18.807 回答