HBase shell is a JRuby-based shell that provides an interface to HBase to perform operations such as creating tables and other operations. We can go to HBase shell using the following command:
Alternatively, we can use the following command, depending on the directory you are in or whether the environment variable is set:
Once we type in one of the previous commands, we will get a prompt:
At this prompt, we can type in the commands. We can always type
help to get the list of available commands, and
help command_name to get help on the particular command, as follows:
Similarly, with a particular command, it is as follows:
hbase(main):026:0> help 'scan'