楼主: Lisrelchen
2307 14

Apache HBase ™ Reference Guide [推广有奖]

11
Lisrelchen 发表于 2017-5-29 01:35:00
  1. Example 14. Modify the Minimum Number of Versions for a Column Family
  2. You can also specify the minimum number of versions to store per column family. By default, this is set to 0, which means the feature is disabled. The following example sets the minimum number of versions on all columns in column family f1 to 2, via HBase Shell. You could also use HColumnDescriptor.

  3. hbase> alter ‘t1′, NAME => ‘f1′, MIN_VERSIONS => 2
复制代码

12
MouJack007 发表于 2017-5-29 09:18:48
谢谢楼主分享!

13
MouJack007 发表于 2017-5-29 09:19:36

14
franky_sas 发表于 2017-5-29 13:08:24

15
albertwishedu 发表于 2017-5-29 17:57:42

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-5-1 13:41