Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18169 Coprocessor fix and cleanup before 2.0.0 release
  3. HBASE-19033

Allow CP users to change versions and TTL before opening StoreScanner

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha-4, 2.0.0
    • Component/s: Coprocessors
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      Add back the three methods without a return value:
      preFlushScannerOpen
      preCompactScannerOpen
      preStoreScannerOpen

      Introduce a ScanOptions interface to let CP users change the max versions and TTL of a ScanInfo. It will be passed as a parameter in the three methods above.

      Inntroduce a new example WriteHeavyIncrementObserver which convert increment to put and do aggregating when get. It uses the above three methods.
      Show
      Add back the three methods without a return value: preFlushScannerOpen preCompactScannerOpen preStoreScannerOpen Introduce a ScanOptions interface to let CP users change the max versions and TTL of a ScanInfo. It will be passed as a parameter in the three methods above. Inntroduce a new example WriteHeavyIncrementObserver which convert increment to put and do aggregating when get. It uses the above three methods.

      Description

      See the discussion in HBASE-19001. Changing versions and TTL is safe for flush/compaction so we can expose them.

        Attachments

        1. HBASE-19033-v2.patch
          81 kB
          Duo Zhang
        2. HBASE-19033-v2.patch
          81 kB
          Duo Zhang
        3. HBASE-19033-v1.patch
          79 kB
          stack
        4. HBASE-19033-v1.patch
          79 kB
          stack
        5. HBASE-19033-v1.patch
          79 kB
          Duo Zhang
        6. HBASE-19033.patch
          78 kB
          Duo Zhang

          Issue Links

            Activity

              People

              • Assignee:
                Apache9 Duo Zhang
                Reporter:
                Apache9 Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: