解决hbase错误 Call to localhost/127.0.0.1:16000 failed on connection
问题: hbase伪分布式部署下,使用JAVA API操作,发生错误:Call to localhost/127.0.0.1:16000 failed on connection
Caused by: org.apache.hadoop.hbase.MasterNotRunningException: java.net.ConnectException: Call to localhost/127.0.0.1:16000 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:16000
解决方案:
hbase-site.xml中加一个hbase.master.hostname的配置项


浙公网安备 33010602011771号