I am looking for a command which describes the columnfamily inside the table from the HBase Shell. I could not get any command to try this.
相关问题
- Joining two ResultSets from HBase in Java?
- Save CSV file to hbase table using Spark and Phoen
- hbase as database in web application
- thrift hbase client - support filters and coproces
- How to get the region in HBASE which is struck in
相关文章
- hbase-client 2.0.x error
- use protobuf3 with some lib which depends on proto
- Latest compatible version of hadoop and hbase
- Create table in hbase
- Connecting to remote HBase service using Java
- Connecting and Persisting to HBase
- How to configure hbase in spark?
- In Hadoop, where can i change default url ports 50
There is no command to describe the Hbase column family (which can display the column qualifiers), but I used Hue Hbase Browser, it has a smartview, which can display column qualifiers of a column family.
(It can not show all the column qualifiers of column family( like describe), but it can show a record with all the column qualifiers, which is helpful for me to understand CF) (Something is better than nothing).
You can refer this link for more information: http://gethue.com/the-web-ui-for-hbase-hbase-browser/.
NOTE: Here is a sample page screenshot, showing column qualifiers of a Column Family ("p")
If this is not helpful, you can write a Happy Script to display all the column qualifiers of a given Column Family, or you can use this API.
UPDATE #1
Recently I wrote a Java program to display the column family and column qualifiers of a hbase table. Remember, this program will do a full table scan and analyze every cell, to get the qualifier names.Might take very longer for larger tables.
Here is the link for the program.
If you use the
describe
command from thehbase shell
you'll get the information for each column family. Currently, there is no way to filter on a single family.Example:
I found this answer and added some modifications to it: