Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hbase table schema

Hbase table schema

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

Re: Hbase table schema

To see the table definition, run

> describe 'table-name'



Regards,
Gautam Gopalakrishnan

Re: Hbase table schema

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

Re: Hbase table schema

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
Highlighted

Re: Hbase table schema

Contributor

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 :)

Don't have an account?
Coming from Hortonworks? Activate your account here