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 2014/01/26 23:39:39 UTC

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

     [ https://issues.apache.org/jira/browse/HBASE-3549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3549.
--------------------------

    Resolution: Invalid

> 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 was sent by Atlassian JIRA
(v6.1.5#6160)