Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9245 Remove dead or deprecated code from hbase 0.96
  3. HBASE-9477

Add deprecation compat shim for Result#raw and Result#list for 0.96

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.95.2
    • 0.98.0, 0.96.0
    • None
    • None
    • Reviewed
    • The Result#raw() and Result#list APIs have been deprecated. Users and applications should use Result#rawCells() and Result#listCells() instead.

    Description

      Discussion in HBASE-9359 brought up that applications commonly use the Keyvalue[] Result#raw (and similarly Result#list). Let's rename the 0.96 version to something like #listCells and #rawCells and revert #raw and #list to their old signature to easy upgrade deprecation issues.

      Attachments

        1. hbase-9477.patch
          71 kB
          Jonathan Hsieh
        2. hbase-9477.v2
          97 kB
          Michael Stack
        3. hbase-9477.v2.patch
          97 kB
          Jonathan Hsieh
        4. hbase-9477.v3.96.patch
          65 kB
          Jonathan Hsieh
        5. hbase-9477.v3.patch
          72 kB
          Jonathan Hsieh
        6. KVI.java
          8 kB
          Michael Stack

        Activity

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: