问题: 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的配置项
- connection localhost 错误 failed hbaseconnection localhost错误failed sqlexception connection localhost错误 operation localhost failed error operation localhost failed mysql mysql localhost 39 connect connection the localhost actions localhost connect server mysql localhost 39 connect server connection the localhost refused connecting localhost manager remote