[Hadoopの] [HBaseの]#51_hbase_shell

bin/hbase shell

DDL

  1. ビューバージョン> version
  2. ビューステータス> status
  3. テーブルを作成するには> create craete "namespace:表名","family column","family column"
  4. ウォッチリスト> list
  5. 腕時計の詳細> describe 't1'
  6. チェンジ表> alter 'namespace:表名', '列族', {NAME => '列族', IN_MEMORY => true}, {NAME => '列族', VERSIONS => 5}
  7. 故障者リスト> disable "bdtest:test1"
  8. 削除テーブル> drop "namespace:表名"

DML

  1. 挿入/データを修正します> put 't1','rowkey','cf:column','value'
  2. ビューデータ> get 't1','rowkey'
  3. データを削除> delete 'namespace:表名', '行键', '列族:列', 时间戳
公開された78元の記事 ウォンの賞賛0 ビュー1384

おすすめ

転載: blog.csdn.net/qq_30782921/article/details/103756307