Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3549

Provide forward compatibility in HBase 0.20.6

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.20.6
    • None
    • None
    • None

    Description

      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

        public Put(byte[] row, long ts) {
          this(row, null);
          setTimeStamp(ts);
        }
      

      adding the following ctor for HColumnDescriptor:

        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"));
        }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: