楼主: Lisrelchen
1750 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
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-22 07:57