a1047738527 发表于 2016-4-22 11:10:39

CDH5安装后各种问题,求大虾指导!!!

前言: 在Centos7安装CDH5后,都是运行正常。jps可查询到角色。各节点也都正常。之后重启了一次服务器就出现了很多问题 1.CDH5页面出现   无法发出查询Host Montior未运行。
    排查主机直接host是正常,可ping主机名 ,防火墙已经关闭,selinux也关闭
2.查看cloudera-scm-agent.log 日志看到
2483 MonitorDaemon-Reporter throttling_logger ERROR    (9 skipped) Error sending messages to firehose: mgmt-HOSTMONITOR-d6806ad16a64947556232e5f134692de
Traceback (most recent call last):
File "/opt/cm-5.5.0/lib64/cmf/agent/src/cmf/monitor/firehose.py", line 116, in _send
    self._port)
File "/opt/cm-5.5.0/lib64/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py", line 469, in __init__
    self.conn.connect()
File "/usr/lib64/python2.7/httplib.py", line 772, in connect
    self.timeout, self.source_address)
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
    raise err
error: Connection refused

错误,不知道这是为什么。在论坛找了很多帖子都有类型的问题。可按照他们的解决方法并没有处理掉这个错误

-------    请看到的大虾帮忙解决解决

Speeder 发表于 2016-4-22 11:53:30

谢谢,哈哈

a1047738527 发表于 2016-4-22 11:56:49

....   这是什么回复    惊讶!

bioger_hit 发表于 2016-4-22 12:08:25

a1047738527 发表于 2016-4-22 11:56
....   这是什么回复    惊讶!

还有其它错误,贴出来看看。
很可能是有的服务没有起来造成的

a1047738527 发表于 2016-4-22 12:13:31

jps查询都没有起来。。。 查看Server日志和agent日志。 就是上面显示的错误。。    cloudera-scm-agent.log 日志错误是报这个

2493 MonitorDaemon-Reporter throttling_logger ERROR    (9 skipped) Error sending messages to firehose: mgmt-HOSTMONITOR-d6806ad16a64947556232e5f134692de
Traceback (most recent call last):
File "/opt/cm-5.5.0/lib64/cmf/agent/src/cmf/monitor/firehose.py", line 116, in _send
    self._port)
File "/opt/cm-5.5.0/lib64/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py", line 469, in __init__
    self.conn.connect()
File "/usr/lib64/python2.7/httplib.py", line 772, in connect
    self.timeout, self.source_address)
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
    raise err
error: Connection refused



a1047738527 发表于 2016-4-22 12:16:54

Server日志报这个错误
java.lang.NullPointerException
      at org.springframework.web.servlet.view.RedirectView.appendQueryProperties(RedirectView.java:252)
      at org.springframework.web.servlet.view.RedirectView.renderMergedOutputModel(RedirectView.java:225)
      at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
      at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:78)
      at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      at com.jamonapi.http.JAMonServletFilter.doFilter(JAMonServletFilter.java:48)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      at com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter.doFilter(JavaMelodyFacade.java:109)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSec

VENS 发表于 2017-7-22 14:44:14

楼主解决这个问题没有?

学东 发表于 2019-4-3 14:45:57

VENS 发表于 2017-7-22 14:44
楼主解决这个问题没有?

楼主解决这个问题没有?
页: [1]
查看完整版本: CDH5安装后各种问题,求大虾指导!!!