我已经安装了hadoop,所有服务都运行良好。类似的色调按照说明安装并正确配置(类似蜂巢)。我检查过很多次的所有东西都很好。但是当我尝试启动色调(主管)时,我得到了这个错误。请建议我应该怎么做才能解决这个问题。
root@slave3:/usr/local/master/hue/build/env# bin/supervisor
$HADOOP_HOME=/usr/local/master/hadoop
$HIVE_CONF_DIR=/etc/hive/conf
$HIVE_HOME=/usr/lib/hive
find: `/usr/lib/hive/lib': No such file or directory
$HADOOP_CLASSPATH=
$HADOOP_OPTS=-Dlog4j.configuration=log4j.properties
$HADOOP_CONF_DIR=/etc/hive/conf:/usr/local/master/hue/apps/beeswax/src/beeswax/../.. /../../desktop/conf:/usr/local/master/hadoop/conf
CWD=/usr/local/master/hue/build/env
Executing /usr/local/master/hadoop/bin/hadoop jar /usr/local/master/hue/apps/beeswax/src/beeswax/../../java-lib/BeeswaxServer.jar --beeswax 8002 --desktop-host 127.0.0.1 --desktop-port 8802 --query-lifetime 604800000 --metastore 8003
(30362) *** Controller starting at Tue Mar 4 23:46:57 2014
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at org.apache.hadoop.util.RunJar.main(RunJar.java:190)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more
Should start 1 new children
Controller.spawn_children(number=1)
$HADOOP_HOME=/usr/local/master/hadoop
$HIVE_CONF_DIR=/etc/hive/conf
$HIVE_HOME=/usr/lib/hive
find: `/usr/lib/hive/lib': No such file or directory
$HADOOP_CLASSPATH=
$HADOOP_OPTS=-Dlog4j.configuration=log4j.properties
$HADOOP_CONF_DIR=/etc/hive/conf:/usr/local/master/hue/apps/beeswax/src/beeswax/../../../../desktop/conf:/usr/local/master/hadoop/conf
CWD=/usr/local/master/hue/build/env
Executing /usr/local/master/hadoop/bin/hadoop jar /usr/local/master/hue/apps/beeswax/src/beeswax/../../java-lib/BeeswaxServer.jar --beeswax 8002 --desktop-host 127.0.0.1 --desktop-port 8802 --query-lifetime 604800000 --metastore 8003
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at org.apache.hadoop.util.RunJar.main(RunJar.java:190)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more
$HADOOP_HOME=/usr/local/master/hadoop
$HIVE_CONF_DIR=/etc/hive/conf
$HIVE_HOME=/usr/lib/hive
find: `/usr/lib/hive/lib': No such file or directory
$HADOOP_CLASSPATH=
$HADOOP_OPTS=-Dlog4j.configuration=log4j.properties
$HADOOP_CONF_DIR=/etc/hive/conf:/usr/local/master/hue/apps/beeswax/src/beeswax/../../../../desktop/conf:/usr/local/master/hadoop/conf
CWD=/usr/local/master/hue/build/env
Executing /usr/local/master/hadoop/bin/hadoop jar /usr/local/master/hue/apps/beeswax/src/beeswax/../../java-lib/BeeswaxServer.jar --beeswax 8002 --desktop-host 127.0.0.1 --desktop-port 8802 --query-lifetime 604800000 --metastore 8003
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at org.apache.hadoop.util.RunJar.main(RunJar.java:190)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more
$HADOOP_HOME=/usr/local/master/hadoop
$HIVE_CONF_DIR=/etc/hive/conf
$HIVE_HOME=/usr/lib/hive
find: `/usr/lib/hive/lib': No such file or directory
$HADOOP_CLASSPATH=
$HADOOP_OPTS=-Dlog4j.configuration=log4j.properties
$HADOOP_CONF_DIR=/etc/hive/conf:/usr/local/master/hue/apps/beeswax/src/beeswax/../../../../desktop/conf:/usr/local/master/hadoop/conf
CWD=/usr/local/master/hue/build/env
Executing /usr/local/master/hadoop/bin/hadoop jar /usr/local/master/hue/apps/beeswax/src/beeswax/../../java-lib/BeeswaxServer.jar --beeswax 8002 --desktop-host 127.0.0.1 --desktop-port 8802 --query-lifetime 604800000 --metastore 8003
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at org.apache.hadoop.util.RunJar.main(RunJar.java:190)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more
(30417) *** Child exiting
(30362) *** Controller exiting
我已经安装了python,mysql也。在 mysql 中,我创建了一个数据库 hadoop。我所做的一切都是按照我之前的色调安装 exp 做的。那工作正常。但是这个安装会出现问题。