分享

CDH5.2.6安装成功,hue无法启动

godxs 发表于 2015-8-11 08:43:09 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 12 91590
本帖最后由 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的数据库了

已有(13)人评论

跳转到指定楼层
winfys 发表于 2016-3-23 10:48:46
不知道楼主解决没有,我今天安装的时候也遇到这个问题了
回复

使用道具 举报

arsenduan 发表于 2015-8-11 10:30:54
无法启动的原因是,服务没有安装成功。
回复

使用道具 举报

godxs 发表于 2015-8-11 12:01:18
怎么解决呢? 重新安装hue?
我已经删除hue,重新安装了,还是不行
回复

使用道具 举报

bob007 发表于 2015-8-11 22:53:59
本帖最后由 bob007 于 2015-8-11 22:55 编辑
godxs 发表于 2015-8-11 12:01
怎么解决呢? 重新安装hue?
我已经删除hue,重新安装了,还是不行

Hue Server 是否有错误,按照过程肯定有问题的

回复

使用道具 举报

godxs 发表于 2015-8-12 14:07:11
需要全部重新安装吗?
回复

使用道具 举报

godxs 发表于 2015-8-15 15:32:25
如何重装有人知道吗?
回复

使用道具 举报

Alkaloid0515 发表于 2015-8-15 16:02:30
godxs 发表于 2015-8-15 15:32
如何重装有人知道吗?

要么卸载,然后安装
要么重新换个虚拟机,重新部署
回复

使用道具 举报

pcjk8866 发表于 2016-5-14 20:35:01
这个我已经解决了 是由于centos 所对应的库文件缺失的原因,可以下载缺失的库文件就可以正常安装了

点评

怎么解决的?  发表于 2016-7-26 16:25
回复

使用道具 举报

wkiller 发表于 2016-12-2 17:24:32
楼主解决了吗?我也遇到了这个问题
回复

使用道具 举报

12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条