How describe Hbase column family?

后端 未结 3 686
暖寄归人
暖寄归人 2021-02-07 23:31

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.

3条回答
  •  無奈伤痛
    2021-02-07 23:47

    I found this answer and added some modifications to it:

    it list all column family for each Cqualifier
      echo "scan 'yourTable', {'LIMIT' => 1} " | $HBASE_HOME/bin/hbase shell | awk -F'=' '{print $2}' | awk -F ':' '{print $1}'|awk -F ',' '{print $1}'  
    

提交回复
热议问题