How describe Hbase column family?

后端 未结 3 646
暖寄归人
暖寄归人 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:53

    If you use the describe command from the hbase shell you'll get the information for each column family. Currently, there is no way to filter on a single family.

    Example:

    hbase(main):003:0> describe 'TABLE_NAME'
     'TABLE_NAME',
     {NAME => 'FAMILY_NAME',
      DATA_BLOCK_ENCODING => 'NONE',
      BLOOMFILTER => 'ROW',
      REPLICATION_ true                                          
      SCOPE => '0',
      VERSIONS => '1',
      COMPRESSION => 'NONE',
      MIN_VERSIONS => '0', TTL => '2147483647',
      KEEP_DELETED_CELLS => 'false',
      BLOCKSIZE => '65536',
      IN_MEMORY => 'false',
      BLOCKCACHE => 'true'
     }   
    

提交回复
热议问题