- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hbase table schema
- Labels:
-
Apache HBase
Created on ‎09-01-2014 04:42 AM - edited ‎09-16-2022 02:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎09-01-2014 04:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> describe 'table-name'
Gautam Gopalakrishnan
Created ‎09-01-2014 05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Describe command doesnt give the complete rows and coluns in a hbase table
Created ‎09-01-2014 04:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'
Gautam Gopalakrishnan
Created ‎09-02-2014 10:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 🙂
