HBase
  1. HBase
  2. HBASE-4903

Return a result from RegionObserver.preIncrement()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The only way to return a result from RegionObserver.preIncrement() is to use Result.readFields() after serializing the correct result.

      This can be fixed either returning a Result object from that function or adding setters to Result. Another option is to modify the parameters and receive a List<KeyValue> as preGet() does.

      1. 4903-add.txt
        0.8 kB
        Lars Hofhansl
      2. HBASE-4903.patch
        11 kB
        Daniel Gómez Ferro
      3. HBASE-4903.patch
        6 kB
        Daniel Gómez Ferro
      4. HBASE-4903-0.92.patch
        7 kB
        Lars Hofhansl

        Activity

        stack made changes -
        Fix Version/s 0.92.0 [ 12314223 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.92.1 [ 12318551 ]
        Lars Hofhansl made changes -
        Attachment 4903-add.txt [ 12505851 ]
        Lars Hofhansl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.92.1 [ 12318551 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Attachment HBASE-4903-0.92.patch [ 12505717 ]
        Lars Hofhansl made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Daniel Gómez Ferro made changes -
        Attachment HBASE-4903.patch [ 12505641 ]
        Daniel Gómez Ferro made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Daniel Gómez Ferro made changes -
        Field Original Value New Value
        Attachment HBASE-4903.patch [ 12505635 ]
        Daniel Gómez Ferro created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel Gómez Ferro
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development