You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Eric Charles (JIRA)" <ji...@apache.org> on 2011/04/05 06:16:06 UTC
[jira] [Commented] (HBASE-3730) DEFAULT_VERSIONS should be 1
[ https://issues.apache.org/jira/browse/HBASE-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015748#comment-13015748 ]
Eric Charles commented on HBASE-3730:
-------------------------------------
I've copied here after the comment made by tsuna on http://markmail.org/message/ifphk6plab3uoi5b.
tsuna has summarized what I have in mind: it does not cost much (well, some disk), and gives a nice feature to recover values. 3 is a good number, but should be further announced in doc, tutorials,...
tsuna comment: "Personally I think that 3 is a good reasonable default. Maybe most people don't really need 3 versions, but most of the time I'm sure they can pay for it, they won't even notice. It can be a life-saver after you screw up to be able to get back to older versions... If you truly have a "big data" problem (few people really do), then you probably will know what you're doing, and you'll tune the number of versions appropriately for your needs."
> DEFAULT_VERSIONS should be 1
> ----------------------------
>
> Key: HBASE-3730
> URL: https://issues.apache.org/jira/browse/HBASE-3730
> Project: HBase
> Issue Type: Improvement
> Reporter: Joe Pallas
> Priority: Minor
>
> The current DEFAULT_VERSIONS (in HColumnDescriptor) is 3, but there is no particular reason for this. Many uses require only 1, and having a default that is different makes people confused (e.g., "Do I need multiple versions to support deletes properly?").
> Reasonable values for the default are 1 and max int. 1 is the better choice.
> Discussion on the mailing list suggests that the current value of 3 may have been derived from an example in the Bigtable paper. The example does not suggest that there is anything special about 3, it's just an illustration.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira