Hadoop版本为hadoop-1.0.3 ,Hbase为0.92.2
有两台电脑组成集群
启动hadoop集群正常,然后启动Hbase,在主机上jps,主节点都启动正常(Hmaster、HRgionServier、HQuorumPeer都有),但查从机,只有JobTracker、DataNode、没有HRgionServier,查看从机的日记如下:
1、hbase-cdl-regionserver-ubuntu2.out文件内容:
Exception in thread "regionserver60020" java.lang.NullPointerException
at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:696)
at java.lang.Thread.run(Thread.java:745)
2、hbase-cdl-regionserver-ubuntu2.log 文件内容如下:
2015-09-24 22:28:41,837 INFO org.apache.zookeeper.client.ZooKeeperSaslClient: Client will not SASL-authenticate because the default JAAS configuration section 'Client' could not be found. If you are not using SASL, you may ignore this. On the other hand, if you expected SASL to work, please fix your JAAS configuration.
2015-09-24 22:28:41,881 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: 拒绝连接
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
求各位大神帮忙解决,谢谢!
[size=11.7241373062134px]更多
|