Database Reference
In-Depth Information
On clicking Enter , you will see the following output:
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.6-cdh4.5.0, rUnknown, Wed Nov 20 15:48:11 PST 2013
hbase(main):001:0>
Once you see this output, you will know that HBase is installed. However,
there is no guarantee that it will actually work. For that, you need to use the
status command.
To go a little deeper in to the shell, you can follow our Hadoop illuminated labs
and go through our introductory section at https://github.com/hadoop-
illuminated/HI-labs/tree/master/hadoop-dev/hadoop-intro .
The shell allows you to do the following:
• View the Hadoop daemons running on your system
• Learn how to view which daemons are running
• Examine the web interfaces for the NameNode and JobTracker daemons
Now, you can experiment with the following commands:
status : The status command is your first friend. It tells you whether HBase
is running and also tells you about all the active servers:
hbase(main):001:0> status
1 servers, 0 dead, 13.0000 average load
This is where you will see something that is not working first, in case your
HBase is not set up correctly.
Now, list the tables, as follows:
hbase(main):002:0> list
TABLE
kiji.default.meta
kiji.default.schema_hash
kiji.default.schema_id
kiji.default.system
mytable
users
wordcount
 
Search WWH ::




Custom Search