INFO zookeeper.ClientCnxn: Socket error occurred: localhost/127.0.0.1:2181: Connection refused: no further information
INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
循环出现上述错误类型
在
Configuration conf = HBaseConfiguration.create();
后加上
conf.set("hbase.zookeeper.quorum", "192.168.228.138");