Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hbase table schema

avatar

Hi,

 

I created a HBase table,

 

when i describe the table it will not showing the actual schema(rows and columns),

 

Can any one can help me how can i see the actual schema of Hbase table(rows and columns)???????????????????????????

 

 

 

 

 

 

-Thankyou

4 REPLIES 4

avatar
To see the table definition, run

> describe 'table-name'



Regards,
Gautam Gopalakrishnan

avatar

Describe command doesnt give the complete rows and coluns in a hbase table

avatar

You had mentioned you want to see the schema, so the describe command is how it is done. If you want to see the entire contents of the table, you can type this on the hbase shell:

 

> scan 'table-name'

 

Regards,
Gautam Gopalakrishnan

avatar
Explorer

To be clear, you wil also only get the column families, not the columns within those. You didn't define those at create-time either, but just to be complete 🙂