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

ByteBufferUtils should not be IA.Public API

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 1.5.0, 2.3.0
    • Fix Version/s: 3.0.0, 1.5.0, 2.3.0
    • Component/s: compatibility, util
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      <!-- markdown -->

      As of HBase 3.0, the ByteBufferUtils class is now marked as a Private API for internal project use only. Downstream users are advised that it no longer has any compatibility promises across releases.

      As of earlier HBase release lines the class is now marked as deprecated to call attention to this planned transition.
      Show
      <!-- markdown --> As of HBase 3.0, the ByteBufferUtils class is now marked as a Private API for internal project use only. Downstream users are advised that it no longer has any compatibility promises across releases. As of earlier HBase release lines the class is now marked as deprecated to call attention to this planned transition.

      Description

      Came up in 1.5.0RC2 checking that we broke API on ByteBufferUtils during HBASE-20716 by removing a method.

      The whole class looks like internal utility stuff. Not sure why it's IA.Public; has been since we started labeling the API.

      This ticket tracks clean up

      1) Make it IA.Private in master/3.0
      2) Mark it deprecated with an explanation that it'll be Private in 3.0 on branch-2 and branch-1
      3) Add back in the missing method for branches prior to master/3.0

        Attachments

        1. HBASE-22044-branch-1.v0.patch
          2 kB
          Sean Busbey
        2. HBASE-22044-branch-2.v0.patch
          1 kB
          Sean Busbey
        3. HBASE-22044-master.v0.patch
          1 kB
          Sean Busbey

          Activity

            People

            • Assignee:
              busbey Sean Busbey
              Reporter:
              busbey Sean Busbey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: