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

        No work has yet been logged on this 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