[ https://issues.apache.org/jira/browse/BIGTOP-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik resolved BIGTOP-662. ------------------------------------- Resolution: Duplicate Fix Version/s: 0.5.0 Assignee: Roman Shaposhnik dup of BIGTOP-688 > cannot start hue-server > ----------------------- > > Key: BIGTOP-662 > URL: https://issues.apache.org/jira/browse/BIGTOP-662 > Project: Bigtop > Issue Type: Bug > Components: Debian, RPM > Affects Versions: 0.4.0 > Reporter: Johnny Zhang > Assignee: Roman Shaposhnik > Priority: Critical > Fix For: 0.5.0 > > > I tried this in SLES11, CENTOS5_64, and Presice > take CENTOS5_64 as example > {noformat} > # service hue status > supervisor is stopped > # service hue start > Starting hue: [ OK ] > # service hue status > supervisor is stopped > {noformat} > in /var/log/hue/error.log > {noformat} > [01/Jul/2012 14:29:02 +0000] supervisor ERROR Process > /usr/lib/hue/build/env/bin/hue beeswax_server exited abnormally. Restarting > it. > [01/Jul/2012 14:29:04 +0000] supervisor ERROR Process > /usr/lib/hue/build/env/bin/hue beeswax_server exited abnormally. Restarting > it. > [01/Jul/2012 14:29:05 +0000] supervisor ERROR Process > /usr/lib/hue/build/env/bin/hue beeswax_server exited abnormally. Restarting > it. > [01/Jul/2012 14:29:06 +0000] supervisor ERROR Process > /usr/lib/hue/build/env/bin/hue beeswax_server has restarted more than 3 times > in the last 3 seconds > [01/Jul/2012 14:29:06 +0000] supervisor ERROR Exception in supervisor > main loop > {noformat} > in /var/log/hue/beeswax_server.out, it complains NoClassDefFoundError of > org/apache/hadoop/mapred/JobConf, and hadoop seems not in the classpath > {noformat} > /usr/lib64/python2.4/posixfile.py:59: DeprecationWarning: The posixfile > module is obsolete and will disappear in the future > DeprecationWarning) > $HADOOP_HOME= > $HADOOP_BIN=/usr/bin/hadoop > $HIVE_CONF_DIR=/etc/hive/conf > $HIVE_HOME=/usr/lib/hive > $HADOOP_CLASSPATH=/usr/lib/hive/lib/datanucleus-rdbms-2.0.3.jar:/usr/lib/hive/lib/jline-0.9.94.jar:/usr/lib/hive/lib/commons-lang-2.4.jar:/usr/lib/hive/lib/libthrift.jar:/usr/lib/hive/lib/jdo2-api-2.3-ec.jar:/usr/lib/hive/lib/hive-hbase-handler-0.9.0.jar:/usr/lib/hive/lib/stringtemplate-3.1-b1.jar:/usr/lib/hive/lib/hive-hwi-0.9.0.jar:/usr/lib/hive/lib/commons-cli-1.2.jar:/usr/lib/hive/lib/hive-cli-0.9.0.jar:/usr/lib/hive/lib/antlr-runtime-3.0.1.jar:/usr/lib/hive/lib/hive-jdbc-0.9.0.jar:/usr/lib/hive/lib/commons-codec-1.3.jar:/usr/lib/hive/lib/hive-serde-0.9.0.jar:/usr/lib/hive/lib/jackson-jaxrs-1.8.8.jar:/usr/lib/hive/lib/commons-dbcp-1.4.jar:/usr/lib/hive/lib/datanucleus-enhancer-2.0.3.jar:/usr/lib/hive/lib/derby-10.4.2.0.jar:/usr/lib/hive/lib/hive-common-0.9.0.jar:/usr/lib/hive/lib/libfb303.jar:/usr/lib/hive/lib/hive-exec-0.9.0.jar:/usr/lib/hive/lib/hive-service-0.9.0.jar:/usr/lib/hive/lib/hive-metastore-0.9.0.jar:/usr/lib/hive/lib/hive-pdk-0.9.0.jar:/usr/lib/hive/lib/hive-shims-0.9.0.jar:/usr/lib/hive/lib/zookeeper.jar:/usr/lib/hive/lib/commons-logging-api-1.0.4.jar:/usr/lib/hive/lib/slf4j-api-1.6.1.jar:/usr/lib/hive/lib/libfb303-0.7.0.jar:/usr/lib/hive/lib/JavaEWAH-0.3.2.jar:/usr/lib/hive/lib/commons-pool-1.5.4.jar:/usr/lib/hive/lib/jackson-core-asl-1.8.8.jar:/usr/lib/hive/lib/datanucleus-connectionpool-2.0.3.jar:/usr/lib/hive/lib/jackson-xc-1.8.8.jar:/usr/lib/hive/lib/hive-builtins-0.9.0.jar:/usr/lib/hive/lib/hive_contrib.jar:/usr/lib/hive/lib/commons-collections-3.2.1.jar:/usr/lib/hive/lib/hive-contrib-0.9.0.jar:/usr/lib/hive/lib/commons-logging-1.0.4.jar:/usr/lib/hive/lib/guava-r09.jar:/usr/lib/hive/lib/datanucleus-core-2.0.3.jar:/usr/lib/hive/lib/log4j-1.2.16.jar:/usr/lib/hive/lib/json-20090211.jar:/usr/lib/hive/lib/libthrift-0.7.0.jar:/usr/lib/hive/lib/hbase.jar:/usr/lib/hive/lib/jackson-mapper-asl-1.8.8.jar: > $HADOOP_OPTS=-Dlog4j.configuration=log4j.properties > $HADOOP_CONF_DIR=/etc/hive/conf:/etc/hadoop/conf > $HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce > CWD=/usr/lib/hue > Executing /usr/bin/hadoop jar > /usr/lib/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 > which: no /usr/lib/hadoop/bin/hadoop in ((null)) > dirname: missing operand > Try `dirname --help' for more information. > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/hadoop/mapred/JobConf > at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:831) > at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:798) > at > com.cloudera.beeswax.Server.createDirectoriesAsNecessary(Server.java:224) > at com.cloudera.beeswax.Server.main(Server.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:208) > Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapred.JobConf > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > ... 9 more > /usr/lib64/python2.4/posixfile.py:59: DeprecationWarning: The posixfile > module is obsolete and will disappear in the future > DeprecationWarning) > $HADOOP_HOME= > $HADOOP_BIN=/usr/bin/hadoop > $HIVE_CONF_DIR=/etc/hive/conf > $HIVE_HOME=/usr/lib/hive > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira