Public | Automated Build

Last pushed: 2 years ago
Short Description
Standalone HBase v1.1.2 on CentOS
Full Description


Simple Docker build for hbase.
CentOS, HBase v1.1.2

##Pull Image
docker pull adaminspace/hbase

##Run Container (exposing rest port)

Run: docker run -d -p 8080:8080 --name myhbase adaminspace/hbase

Check logs (ctrl+C to exit): docker logs -f myhbase

##Test the REST server

Enter container: docker exec -it myhbase bash

Enter hbase shell: hbase shell

Add a table: create 'mytable','cf1'

Exit shell: quit

Exit container: exit

Start REST server: docker exec myhbase start rest

Test: curl localhost:8080 (it should return 'mytable' as the list of tables)

Docker Pull Command
Source Repository