码迷,mamicode.com
首页 > 其他好文 > 详细

CDH6.3.1安装hue 报错

时间:2019-12-11 19:24:29      阅读:450      评论:0      收藏:0      [点我收藏+]

标签:off   avr   img   expected   error:   sso   avro   code   res   

x

技术图片

 

 

一、查看日志server运行日志

/var/log/cloudera-scm-server/cloudera-scm-server.log

2019-12-11 17:28:34,201 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult
2019-12-11 17:28:34,204 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200
2019-12-11 17:28:36,220 INFO scm-web-5131:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult
2019-12-11 17:28:36,223 INFO scm-web-5131:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200
2019-12-11 17:28:38,236 INFO scm-web-5131:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult
2019-12-11 17:28:38,239 INFO scm-web-5131:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200
2019-12-11 17:28:40,253 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult
2019-12-11 17:28:40,256 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200
2019-12-11 17:28:42,271 INFO scm-web-5131:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult
2019-12-11 17:28:42,273 INFO scm-web-5131:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200
2019-12-11 17:28:44,287 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult
2019-12-11 17:28:44,291 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200
2019-12-11 17:28:45,487 INFO CommandPusher:com.cloudera.cmf.service.AbstractOneOffHostCommand: Unsuccessful ‘HueTestDatabaseConnection‘
2019-12-11 17:28:45,487 INFO CommandPusher:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: Command exited with code: 1
2019-12-11 17:28:45,487 INFO CommandPusher:com.cloudera.cmf.service.AbstractDbConnectionTestCommand:     patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.20-py2.7.egg/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.20-py2.7.egg/django/urls/resolvers.py", line 400, in urlconf_module
    return import_module(self.urlconf_name)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/desktop/core/src/desktop/urls.py", line 226, in <module>
    if app.urls:
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/desktop/core/src/desktop/appmanager.py", line 170, in urls
    return self._submodule("urls")
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/desktop/core/src/desktop/appmanager.py", line 201, in _submodule
    return _import_module_or_none(self.module.__name__ + "." + name)
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/desktop/core/src/desktop/appmanager.py", line 53, in _import_module_or_none
    __import__(module)
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/apps/jobbrowser/src/jobbrowser/urls.py", line 20, in <module>
    from jobbrowser import views as jobbrowser_views
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/apps/jobbrowser/src/jobbrowser/views.py", line 25, in <module>
    from lxml import html
  File "/opt/cloudera/parcel-repo/CDH-6.3.1-1.cdh6.3.1.p0.1470567/lib/hue/build/env/lib/python2.7/site-packages/lxml-3.3.6-py2.7-linux-x86_64.egg/lxml/html/__init__.py", line 42, in <module>
    from lxml import etree
ImportError: libxslt.so.1: cannot open shared object file: No such file or directory

2019-12-11 17:28:45,487 ERROR CommandPusher:com.cloudera.cmf.model.DbCommand: Command 449(HueTestDatabaseConnection) has completed. finalstate:FINISHED, success:false, msg:Unexpected error. Unable to verify database connection.
2019-12-11 17:28:46,306 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult
2019-12-11 17:28:46,309 INFO scm-web-5111:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200
2019-12-11 17:29:01,439 INFO avro-servlet-hb-processor-19:com.cloudera.server.common.AgentAvroServlet: (13 skipped) AgentAvroServlet: heartbeat processing stats: average=20ms, min=6ms, max=60ms.
2019-12-11 17:29:25,003 INFO agentServer-428:com.cloudera.server.common.MonitoringThreadPool: agentServer: execution stats: average=21ms, min=7ms, max=60ms.
2019-12-11 17:29:25,003 INFO agentServer-428:com.cloudera.server.common.MonitoringThreadPool: agentServer: waiting in queue stats: average=0ms, min=0ms, max=1ms.
2019-12-11 17:30:01,499 INFO avro-servlet-hb-processor-6:com.cloudera.server.common.AgentAvroServlet: (11 skipped) AgentAvroServlet: heartbeat processing stats: average=20ms, min=6ms, max=60ms.
2019-12-11 17:31:01,546 INFO avro-servlet-hb-processor-1:com.cloudera.server.common.AgentAvroServlet: (11 skipped) AgentAvroServlet: heartbeat processing stats: average=20ms, min=6ms, max=60ms.

 

二、离线安装缺少的依赖包

https://pkgs.org/网站下载libxslt的rpm包

rpm -ivh libxslt-1.1.28-5.el7.x86_64.rpm 

 

三、再次测试

技术图片

CDH6.3.1安装hue 报错

标签:off   avr   img   expected   error:   sso   avro   code   res   

原文地址:https://www.cnblogs.com/shwang/p/12024013.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!