In this tutorial, we will see how to describe an HBase table from the shell and will see syntax, usage, and practice with some examples.
Describing a Table using HBase Shell
Use describe
command to describe the details and configuration of the HBase table. For example, version, compression, blocksize, replication e.t.c. The syntax to describe the table is as follows.
Syntax: describe <‘namespace’:’table_name’>
Examples:
When table created in a namespace, you need to qualify it on command. In our example, we are not qualifying with the namespace as we don’t have one.
Describe command also returns the status of the table which is enabled or disabled.
Next, Let’s insert some rows to our table using HBase put command.