You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2011/02/18 18:35:38 UTC

[jira] Created: (HBASE-3549) Provide forward compatibility in HBase 0.20.6

Provide forward compatibility in HBase 0.20.6
---------------------------------------------

                 Key: HBASE-3549
                 URL: https://issues.apache.org/jira/browse/HBASE-3549
             Project: HBase
          Issue Type: Improvement
    Affects Versions: 0.20.6
            Reporter: Ted Yu


To minimize cost of migration, it is desirable to pull new APIs into 0.20.6 (0.89)
This way client code compiles against both hbase jars.

Our changes include:
making MetaScanner public class
adding the following ctor for Put
{code}
  public Put(byte[] row, long ts) {
    this(row, null);
    setTimeStamp(ts);
  }
{code}
adding the following ctor for HColumnDescriptor:
{code}
  public HColumnDescriptor(final byte [] familyName, final int maxVersions,
	      final String compression, final boolean inMemory,
	      final boolean blockCacheEnabled,
	      final int timeToLive, final String bloomFilter) {
	  this(familyName, maxVersions,
	       compression, inMemory,
	       blockCacheEnabled,
	       timeToLive,!bloomFilter.equals("NONE"));
  }
{code}


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira