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

Wrap the cell passed via Mutation#add(Cell) to be of ExtendedCell

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-2, 2.0.0
    • None
    • None
    • Reviewed

    Description

      We assume all cells in server are of ExtendedCell. However, cp user can add their cell impl via Put#add(Cell) in observer. That will cause UnsupportedOperationException when rs try to update the cell's timestamp and seq Id. We should do something for cp user...For example, wrap the passed cells to be a extendcell type.

      Attachments

        1. HBASE-19550.v0.patch
          26 kB
          Chia-Ping Tsai
        2. HBASE-19550.v1.patch
          27 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: