Skip to content

adaminspace/hbase-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hbase-docker

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 hbase-daemon.sh start rest

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

About

Simple Docker build for hbase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published