You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/04/25 08:28:00 UTC
[jira] [Commented] (HBASE-22299) Documentation has incorrect
default number of versions
[ https://issues.apache.org/jira/browse/HBASE-22299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825859#comment-16825859 ]
Hudson commented on HBASE-22299:
--------------------------------
Results for branch master
[build #960 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/960/]: (x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/master/960//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/master/960//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/master/960//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Documentation has incorrect default number of versions
> ------------------------------------------------------
>
> Key: HBASE-22299
> URL: https://issues.apache.org/jira/browse/HBASE-22299
> Project: HBase
> Issue Type: Bug
> Components: documentation
> Reporter: Peter Somogyi
> Assignee: Sayed Anisul Hoque
> Priority: Trivial
> Labels: beginner
> Fix For: 3.0.0
>
>
> Reference guide has this section under [compaction|https://hbase.apache.org/book.html#compaction].
> {quote}
> Compaction and Versions
> When you create a Column Family, you can specify the maximum number of versions to keep, by specifying HColumnDescriptor.setMaxVersions(int versions). The default value is 3. If more versions than the specified maximum exist, the excess versions are filtered out and not written back to the compacted StoreFile.
> {quote}
> This is incorrect, the default value is 1.
> Additionally, HColumnDescriptor is deprecated and the example should use ColumnFamilyDescriptorBuilder$setMaxVersions(int) instead.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)