Hbase shell is the point from where we can type all the command and the Hbase starts working.
To start with the Hbase kindly move to the Hbase home folder and type the below command.
./bin/hbase shell Once you type the above command , you will get the below notification and at last a Hbase prompt will get open.
Once the hbase shell get started , we will try some commands .
To find the list of all the commands available in Hbase , we can type help and get this information.
List the Tables :- To list all the tables in the Hbase database,simply type the list command at the Hbase shell.It will display all the tables that are present.
These are the few tables that are present in my Hbase database :-
status :- provides the status of the Hbase .
version :- provides the version of the Hbase.
Regarding the DDL command , we will learn it in the upcoming tutorials.
Further Reading :- https://hbase.apache.org/book.html#_read_hbase_shell_commands_from_a_command_file
To start with the Hbase kindly move to the Hbase home folder and type the below command.
./bin/hbase shell Once you type the above command , you will get the below notification and at last a Hbase prompt will get open.
Once the hbase shell get started , we will try some commands .
To find the list of all the commands available in Hbase , we can type help and get this information.
List the Tables :- To list all the tables in the Hbase database,simply type the list command at the Hbase shell.It will display all the tables that are present.
These are the few tables that are present in my Hbase database :-
status :- provides the status of the Hbase .
version :- provides the version of the Hbase.
Regarding the DDL command , we will learn it in the upcoming tutorials.
Further Reading :- https://hbase.apache.org/book.html#_read_hbase_shell_commands_from_a_command_file
No comments:
Post a Comment