Hands-on session: Column-based Data Store (NoSQL) ################################################################################ # HBase (Column-oriented Data Store) ################################################################################ 1. Let's retrieve the Docker image with pre-installed HBase docker pull harisekhon/hbase 2. We can now create an instance of HBase; since we are interesting to use it from our local machine, we need to forward several HBase ports; docker run -ti --name=hbase-docker -h hbase-docker -p 2181:2181 -p 8080:8080 -p 8085:8085 -p 9090:9090 -p 9095:9095 -p 16000:16000 -p 16010:16010 -p 16201:16201 -p 16301:16301 harisekhon/hbase 3. We are interested in interacting with our containerized instance of HBase using a Java application. To allow our local machine to resolve the addressed of the HBase components, we should update the /etc/hosts file by adding the following line: 127.0.0.1 hbase-docker 4. We are ready to use HBase. We explore the HBaseClient.java file.