Accumulo 1.5.1 - Cloudera CDH4.5 - TServer无法使用端口9999

时间:2014-06-13 09:19:13

标签: hadoop accumulo cloudera-cdh

Accumulo实例无法启动以下错误 - 将不胜感激任何帮助

2014-06-13 14:48:51,682 [util.TServerUtils] INFO : Unable to use port 9999, retrying. (Thread Name = Master Client Service Handler)
2014-06-13 14:48:51,933 [util.TServerUtils] INFO : Unable to use port 9999, retrying. (Thread Name = Master Client Service Handler)
2014-06-13 14:48:52,183 [util.TServerUtils] INFO : Unable to use port 9999, retrying. (Thread Name = Master Client Service Handler)
2014-06-13 14:48:52,434 [util.TServerUtils] INFO : Unable to use port 9999, retrying. (Thread Name = Master Client Service Handler)
2014-06-13 14:48:52,684 [util.TServerUtils] INFO : Unable to use port 9999, retrying. (Thread Name = Master Client Service Handler)
2014-06-13 14:48:52,935 [util.TServerUtils] INFO : Unable to use port 9999, retrying. (Thread Name = Master Client Service Handler)
2014-06-13 14:48:53,185 [master.Master] ERROR: Unexpected exception, exiting
java.net.UnknownHostException: Unable to find a listen port
    at org.apache.accumulo.server.util.TServerUtils.startServer(TServerUtils.java:125)
    at org.apache.accumulo.server.master.Master.run(Master.java:2178)
    at org.apache.accumulo.server.master.Master.main(Master.java:2306)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.accumulo.start.Main$1.run(Main.java:103)
    at java.lang.Thread.run(Thread.java:662)

1 个答案:

答案 0 :(得分:0)

尝试使用

将端口修改为9995
 <property>  
    <name>master.port.client</name>  
    <value>9995</value>  
  </property>
在accumulo-site.xml中

但失败并出现同样的错误!

因此交叉检查群集使用的所有端口 - cloudera manager - 9999&amp;和cloudera经理使用的其他系列 - Cloudera Manager Activity Monitor

修改为系列9999之外的端口号,是的,服务器已启动并正在运行..