In order for the client to get the correct hbase_host, use the -h hbase-demo to set hostname, HBase's built-in ZooKeeper listens on 127.0.0.1, so it is recommended to specify the host of the external ZooKeeper -e Zookeeper_hosts ='IP_OR_HOSTNAME_LIST'
docker run --rm -it -h hbase-demo --name hbase-demo -e ZOOKEEPER_HOSTS='192.168.1.1' microwww/hbase:v2.4.1-PseudoDistributed
and specify the hostname -h hbase-demo. docker run zookeeper :
docker run -d --name zookeeper --net host zookeeper
if you using hadoop , can set -e HBASE_ROOTDIR="hdfs://192.168.1.1:9000/hbase"
Content type
Image
Digest
Size
505 MB
Last updated
over 5 years ago
docker pull microwww/hbase:v2.4.1-PseudoDistributed