Dear hbase's developers,I'm very happy to mail to you.
when I config hbase-1.2.5-bin.tar with cenos7,there comes some problems I 
cann't resolved.
the hbase master's port cann't telnet by hostname,and can telnet by localhost.
==========================telnet result==============================
[root@localhost hbase-1.2.5]# telnet lvs-master 60000
Trying 192.168.152.11...
telnet: connect to address 192.168.152.11: Connection refused
[root@localhost hbase-1.2.5]# telnet localhost 60000
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
=================================================================
so I cann't connect hbase on windows by eclipse 
=======================remote connect result by java 
api=========================
Caused by: java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at 
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:493)
at 
org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.setupConnection(RpcClientImpl.java:416)
at 
org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.setupIOstreams(RpcClientImpl.java:722)
at 
org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.writeRequest(RpcClientImpl.java:906)
at 
org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.tracedWriteRequest(RpcClientImpl.java:873)
at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1241)
at 
org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:227)
... 11 more
Exception in thread "main" 
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after 
attempts=35, exceptions:
Wed May 31 14:02:57 CST 2017, RpcRetryingCaller{globalStartTime=1496210576788, 
pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: 
com.google.protobuf.ServiceException: java.net.ConnectException: Connection 
refused: no further information
Wed May 31 14:02:57 CST 2017, RpcRetryingCaller{globalStartTime=1496210576788, 
pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: 
com.google.protobuf.ServiceException: 
org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed 
servers list: localhost/127.0.0.1:60000
===================================================================
hbase-site.xml is below
============================conf/hbase-site.xml=======================
<property>
<name>hbase.rootdir</name>
<value>hdfs://lvs-master:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>lvs-master</value>
</property>
<property>  
<name>hbase.master</name>  
<value>lvs-master</value> 
</property>
<property>
<name>hbase.master.port</name>
<value>60000</value>
</property>
<property>
<name>hbase.regionserver.dns.nameserver</name>
<value>lvs-master</value>
</property>
=================================================================


============================conf/regionservers==========================
lvs-master
=====================================================================






help you can tell me if how to resolve the problem , thank you very much!

Reply via email to