我已经创建了一个版本 = 3 的 HBase 表,现在想要更改它,以便它可以存储无限数量的更新。
ALTER 'table_name',NAME=>'cf',VERSION=>3
最佳答案
您无法将最大版本数设置为无限。您必须设置一个数字作为最大值。
但是,根据 HBase :
It is not recommended setting the number of max versions to an exceedingly high level (e.g., hundreds or more) unless those old values are very dear to you because this will greatly increase StoreFile size.
关于java - 将 HBase 列族历史记录设置为无穷大,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42066628/