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

Provide an alternative to CellUtil.setTimestamp

    XMLWordPrintableJSON

Details

    • Hide
      <!-- markdown -->

      The `CellUtil.setTimestamp` method changes to be an API with audience `LimitedPrivate(COPROC)` in HBase 3.0. With that designation the API should remain stable within a given minor release line, but may change between minor releases.

      Previously, this method was deprecated in HBase 2.0 for removal in HBase 3.0. Deprecation messages in HBase 2.y releases have been updated to indicate the expected API audience change.
      Show
      <!-- markdown --> The `CellUtil.setTimestamp` method changes to be an API with audience `LimitedPrivate(COPROC)` in HBase 3.0. With that designation the API should remain stable within a given minor release line, but may change between minor releases. Previously, this method was deprecated in HBase 2.0 for removal in HBase 3.0. Deprecation messages in HBase 2.y releases have been updated to indicate the expected API audience change.

    Description

      CellUtil.setTimestamp has been deprecated in 2.0 and is marked for removal in 3.0. Phoenix currently uses this api to set the timestamp of cells in its indexing coprocessor for tables that have mutable indexes. We can't use the CellBuilder api since this involves creating a copy of the cell which will be expensive.

      FYI @stack

      Attachments

        1. HBASE-22148.0.patch
          2 kB
          Sean Busbey
        2. HBASE-22148-branch-2.v0.patch
          2 kB
          Sean Busbey

        Issue Links

          Activity

            People

              busbey Sean Busbey
              tdsilva Thomas D'Silva
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: