本帖最后由 godxs 于 2015-8-11 08:52 编辑
cdh 5.2.6 版本4台服务器搭建成功了,但是由于是虚拟机安装,我修改了默认路径,将能修改的路径都改到了制定目录下。
其他服务都安装成功了,
但是hue启动失败:
Service did not start successfully; not all of the required roles started: Service has only 0 Hue Server roles running instead of minimum required 1.
Supervisor returned FATAL. Please check the role log file, stderr, or stdout.
程序: hue/hue.sh ["runcpserver"]
角色日志 ----------------------------------------------------------------------------------------------------------------------------------------------------- [10/Aug/2015 18:00:52 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 03:00:54 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[10/Aug/2015 18:01:00 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 03:01:01 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[10/Aug/2015 18:01:09 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 03:01:10 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:29:03 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:29:04 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:29:09 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:29:11 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:29:17 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:29:18 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:29:25 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:29:27 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:42:34 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:42:35 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:42:40 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:42:41 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:42:48 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:42:49 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
[11/Aug/2015 08:42:56 ] settings INFO Welcome to Hue 3.6.0
[10/Aug/2015 17:42:57 -0700] __init__ WARNING Couldn't import snappy. Support for snappy compression disabled.
-----------------------------------------------------------------------------------------------------------------------------
stderr
>self.execute(*args, **options.__dict__)
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/management/base.py", line 231, in execute
> self.validate()
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/management/base.py", line 266, in validate
> num_errors = get_validation_errors(s, app)
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/management/validation.py", line 30, in get_validation_errors
> for (app_name, error) in get_app_errors().items():
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/loading.py", line 158, in get_app_errors
> self._populate()
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/loading.py", line 67, in _populate
> self.load_app(app_name)
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/loading.py", line 88, in load_app
> models = import_module('.models', app_name)
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/utils/importlib.py", line 35, in import_module
> __import__(name)
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/apps/jobbrowser/src/jobbrowser/models.py", line 20, in <module>
> import lxml.html
> File "/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue/build/env/lib/python2.6/site-packages/lxml-2.2.2-py2.6-linux-x86_64.egg/lxml/html/__init__.py", line 12, in <module>
> from lxml import etree
>ImportError: libxslt.so.1: cannot open shared object file: No such file or directory
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Stdout
HIVE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hive
HIVE_DEFAULT_XML=/etc/hive/conf.dist/hive-default.xml
HIVE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/hive-conf
HBASE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hbase
PIG_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/pig
HBASE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/hbase-conf
Tue Aug 11 08:42:44 CST 2015
JAVA_HOME=/soft/jdk1.7.0_79
HUE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue
HUE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER
HADOOP_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hadoop
HADOOP_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/yarn-conf
HIVE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hive
HIVE_DEFAULT_XML=/etc/hive/conf.dist/hive-default.xml
HIVE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/hive-conf
HBASE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hbase
PIG_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/pig
HBASE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/hbase-conf
Tue Aug 11 08:42:52 CST 2015
JAVA_HOME=/soft/jdk1.7.0_79
HUE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hue
HUE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER
HADOOP_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hadoop
HADOOP_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/yarn-conf
HIVE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hive
HIVE_DEFAULT_XML=/etc/hive/conf.dist/hive-default.xml
HIVE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/hive-conf
HBASE_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/hbase
PIG_HOME=/opt/cloudera/parcels/CDH-5.2.6-1.cdh5.2.6.p0.2/lib/pig
HBASE_CONF_DIR=/opt/cm-5.2.6/run/cloudera-scm-agent/process/253-hue-HUE_SERVER/hbase-conf
各位大神帮忙看看什么原因啊hue那边改成mysql的数据库了
|