我没有找到任何资料来详细告诉我HBase如何描述该表。 我找不到字段。 例如
hbase(main):006:0> describe 'cdap_system:artifact.meta'
Table cdap_system:artifact.meta is ENABLED
cdap_system:artifact.meta, {TABLE_ATTRIBUTES => {coprocessor$1 => '/cdap/cdap/lib/coprocessor-4.3.4-1522017174177-HBASE_12_CDH57.jar|co.cask.cdap.data2.transaction.copr
ocessor.hbase12cdh570.DefaultTransactionProcessor|1073741823|', METADATA => {'cdap.hbase.version' => '1.2-cdh5.7', 'cdap.version' => '4.3.4-1522017174177', 'dataset.tab
le.prefix' => 'cdap'}}
COLUMN FAMILIES DESCRIPTION
{NAME => 'd', BLOOMFILTER => 'ROW', VERSIONS => '2147483647', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMP
RESSION => 'SNAPPY', MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'}
1 row(s) in 0.0190 seconds
这里是TABLE_ATTRIBUTES?
答案 0 :(得分:0)
HBase是无模式的,对您的列一无所知。甚至column-family
的概念也是非常技术性的,而不是合乎逻辑的,正如您在对列族d的描述中所看到的:
{NAME => 'd', ... TTL => 'FOREVER', COMPRESSION => 'SNAPPY', BLOCKSIZE => '65536' ...}
^^ hbase仅关心表的此类属性。