Public | Automated Build

Last pushed: 2 years ago
Short Description
Alpine image providing HBASE
Full Description


Alpine image with HBase

Hello World


For getting to know HDFS, please have a look at qnib/alpn-hdfs.


Fire up the stack...

➜  alpn-hbase git:(master) docker-compose up -d                                                                                                                                                                          git:(master|)
Creating consul
Creating hbase
Creating hbase-data2
Creating zookeeper
Creating zkui
Creating hbase-data1
Creating hdfs-namenode
➜  alpn-hbase git:(master) compose ps                                                                                                                                                                    git:(master|)
    Name                   Command               State                                                                             Ports
consul          /opt/qnib/supervisor/bin/s ...   Up>8500/tcp
hbase           /opt/qnib/supervisor/bin/s ...   Up>16000/tcp,>16010/tcp,>16020/tcp,>16030/tcp,>16070/tcp,>16080/tcp
hbase-data1     /opt/qnib/supervisor/bin/s ...   Up>16020/tcp,>16030/tcp,>16070/tcp,>16080/tcp
hbase-data2     /opt/qnib/supervisor/bin/s ...   Up>16020/tcp,>16030/tcp,>16070/tcp,>16080/tcp
hdfs-namenode   /opt/qnib/supervisor/bin/s ...   Up>50070/tcp,>8020/tcp
zkui            /opt/qnib/supervisor/bin/s ...   Up>9090/tcp
zookeeper       /opt/qnib/supervisor/bin/s ...   Up>2181/tcp
➜  alpn-hbase git:(master)

Wait until consul lights up green (http://$(docker-machine ip):8500)...

Have a look around in Zookeeper UI (http://$(docker-machine ip):9090, admin/admin)...

Stuck here

And fail on the base command... :(

➜  alpn-hbase git:(master) docker exec -ti hbase-data1 bash
bash-4.3# /opt/hbase/bin/hbase shell
2016-05-24 18:31:37,558 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 1.2.1, r8d8a7107dc4ccbf36a92f64675dc60392f85c015, Wed Mar 30 11:19:21 CDT 2016

hbase(main):001:0> status

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
    at org.apache.hadoop.hbase.master.HMaster.checkInitialized(
    at org.apache.hadoop.hbase.master.MasterRpcServices.getClusterStatus(
    at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(
    at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(
    at org.apache.hadoop.hbase.ipc.RpcExecutor$

Here is some help for this command:
Show cluster status. Can be 'summary', 'simple', 'detailed', or 'replication'. The
default is 'summary'. Examples:

  hbase> status
  hbase> status 'simple'
  hbase> status 'summary'
  hbase> status 'detailed'
  hbase> status 'replication'
  hbase> status 'replication', 'source'
  hbase> status 'replication', 'sink'

Docker Pull Command
Source Repository