Database Reference
In-Depth Information
If this happens to you, set JAVA_HOME in the file conf/hbase-env.sh ; for example,
as follows:
export JAVA_HOME=/usr/lib/jvm/j2sdk1.6-oracle
Otherwise, you can set the JAVA_HOME variable in your environment.
Verify your HBase install. Nothing much can go wrong at this stage, so running the
HBase shell, as follows, should be enough:
mark@mark-dev:~$ hbase shell
13/12/29 14:47:12 WARN conf.Configuration: hadoop.native.lib is
deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.6
hbase(main):001:0> status
1 servers, 0 dead, 11.0000 average load
hbase(main):002:0> list
TABLE
EntityGroup
mark_users
mytable
wordcount
4 row(s) in 0.0700 seconds
hbase(main):003:0> exit
mark@mark-dev:~$
Except this, you should have no tables at this stage; I just showed you mine.
Now we are ready to go for the real stuff—building a cluster.
 
Search WWH ::




Custom Search