hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-992) Up the versions kept by catalog tables; currently 1. Make it 10?
Date Tue, 11 Nov 2008 18:25:44 GMT
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.


Mime
View raw message