Home Forums HBase How to get Metadata information in Hbase

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Enis Soztutar 9 months, 4 weeks ago.

  • Creator
    Topic
  • #44380

    I want to get the metadata information in Hbase. My basic purpose is to -

    1.get the information about tables like how many tables and name of tables.

    2.get the columnfamilies name in each table.

    3.get the columns names and their data types in each columnfamily.

    Is there any tool or command by using which we can get the above information ??

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #44407

    Enis Soztutar
    Participant

    You can use the list, and describe commands for getting the list of tables, and inspect the table’s for getting list of column families respectively. HBase does not have explicit column declarations and types, so you cannot get this information because it is not stored or enforced.

    You can check http://hbase.apache.org/book/datamodel.html for more info.

    Collapse
Viewing 1 replies (of 1 total)