cloudera管理器无法启动活动监视器

2q5ifsrm  于 2021-06-04  发布在  Hadoop
关注(0)|答案(1)|浏览(487)

我从这里下载了cdh4.5quickstart虚拟机。每个服务看起来都很好,但在我打开activities选项卡查看mapreduce活动后出现以下错误:

The Activity Monitor server (activitymonitor (localhost)) is unavailable or not responding to connections.

在尝试重新启动活动监视器服务后,问题仍然存在,然后在日志中发现以下错误消息。有人能帮忙看看吗?

11:24:35.862 PM     WARN    org.mortbay.log     

failed SelectChannelConnector@localhost.localdomain:9999: java.net.BindException: Address already in use

11:24:35.864 PM     WARN    org.mortbay.log     

failed Server@59cc2f42: java.net.BindException: Address already in use

11:24:35.869 PM     ERROR   com.cloudera.cmon.firehose.Main     

Failed to start Firehose
com.cloudera.enterprise.EnterpriseServiceException: java.net.BindException: Address already in use
    at com.cloudera.cmon.firehose.AgentMessageService.startService(AgentMessageService.java:144)
    at com.cloudera.enterprise.EnterpriseService.start(EnterpriseService.java:71)
    at com.cloudera.enterprise.EnterpriseService.start(EnterpriseService.java:68)
    at com.cloudera.cmon.firehose.Main.main(Main.java:371)
Caused by: java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
    at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:315)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.mortbay.jetty.Server.doStart(Server.java:235)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at com.cloudera.cmon.firehose.AgentMessageService.startService(AgentMessageService.java:142)
    ... 3 more
niknxzdl

niknxzdl1#

“java.net.bindexception:address already in use”明确指出端口9999已经被其他服务占用。您必须检查服务的pid并停止它:
lsof-p | grep听| grep 9999
使用pid终止服务,或者如果你知道服务,那么优雅地停止

相关问题