I'm trying to setup HBase easily with docker. I have writen the Dockerfile and run standalone-hbase successfully.
Everything works like a charm within the container. I can implement the Java client to get data from RegionServer as well. But when I move the client outside the container, it doesn't work.
RegionServer seems to open random ports for RPC requests but we can't expose them after running the docker container. I have no idea how to solve it, any suggestion?
It works like a charm when I start the container with --net host
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With