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

Return a result from RegionObserver.preIncrement()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: