You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/11/11 23:07:44 UTC
[jira] Resolved: (HBASE-992) Up the versions kept by catalog
tables; currently 1. Make it 10?
[ https://issues.apache.org/jira/browse/HBASE-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-992.
-------------------------
Resolution: Fixed
Resolving. Won't write a migration script but will make it so you can alter .META. and -ROOT- from shell. Currently you can't (HBASE-995).
> Up the versions kept by catalog tables; currently 1. Make it 10?
> -----------------------------------------------------------------
>
> Key: HBASE-992
> URL: https://issues.apache.org/jira/browse/HBASE-992
> Project: Hadoop HBase
> Issue Type: Improvement
> Reporter: stack
> Fix For: 0.19.0
>
>
> The .META. and -ROOT- tables currently only keep a single version of a cell. Debugging, would be good to have access to previous version of a cell. I can change the defaults so new installs get the upped version. Should we do a migration to up versions in established tables?
> {code}
> /** Table descriptor for <core>-ROOT-</code> catalog table */
> public static final HTableDescriptor ROOT_TABLEDESC = new HTableDescriptor(
> HConstants.ROOT_TABLE_NAME,
> new HColumnDescriptor[] { new HColumnDescriptor(HConstants.COLUMN_FAMILY,
> 1, HColumnDescriptor.CompressionType.NONE, false, false,
> Integer.MAX_VALUE, HConstants.FOREVER, false) });
>
> /** Table descriptor for <code>.META.</code> catalog table */
> public static final HTableDescriptor META_TABLEDESC = new HTableDescriptor(
> HConstants.META_TABLE_NAME, new HColumnDescriptor[] {
> new HColumnDescriptor(HConstants.COLUMN_FAMILY, 1,
> HColumnDescriptor.CompressionType.NONE, false, false,
> Integer.MAX_VALUE, HConstants.FOREVER, false),
> new HColumnDescriptor(HConstants.COLUMN_FAMILY_HISTORIAN,
> HConstants.ALL_VERSIONS, HColumnDescriptor.CompressionType.NONE,
> false, false, Integer.MAX_VALUE, HConstants.FOREVER, false) });
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.