hbase我在shell下可以操作,但是我用java api操作的时候报错: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=35, exceptions: Sun Nov 03 03:37:28 CST 2013, org.apache.hadoop.hbase.client.RpcRetryingCaller@26d607, java.net.ConnectException: Connection refused: no further information Sun Nov 03 03:37:29 CST 2013, org.apache.hadoop.hbase.client.RpcRetryingCaller@26d607, org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60020 Sun Nov 03 03:37:29 CST 2013, 查看jps服务是启动了的: [root@localhost logs]# jps 2167 SecondaryNameNode 1972 NameNode 3437 Jps 2071 DataNode 2244 JobTracker 2891 HRegionServer 2786 HMaster 2348 TaskTracker 2736 HQuorumPeer 看了datanode,namenode日志没有出错,hbase里的日志也没有错误 |