• Post author:
  • Post category:HBase
  • Post last modified:March 27, 2024
  • Reading time:3 mins read

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 hbase table

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.

Naveen Nelamali

Naveen Nelamali (NNK) is a Data Engineer with 20+ years of experience in transforming data into actionable insights. Over the years, He has honed his expertise in designing, implementing, and maintaining data pipelines with frameworks like Apache Spark, PySpark, Pandas, R, Hive and Machine Learning. Naveen journey in the field of data engineering has been a continuous learning, innovation, and a strong commitment to data integrity. In this blog, he shares his experiences with the data as he come across. Follow Naveen @ LinkedIn and Medium