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

Empty RegionAction added to MultiRequest in case of RowMutations/CheckAndMutate batch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.1.10, 2.2.6
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When a client sends RowMutations/CheckAndMutate batch requests, no Action objects are added to the builder (RegionAction.Builder), so empty RegionAction is added to MultiRequest at the following line:
      https://github.com/apache/hbase/blob/3c319811799cb4c1f51fb5b43dd4743acd28052c/hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java#L593

      We need to check if the builder has any Action objects or not here.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brfrn169 Toshihiro Suzuki
                Reporter:
                brfrn169 Toshihiro Suzuki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: