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

Provide forward compatibility in HBase 0.20.6

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 0.20.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: