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

TestRegionProcessRowsWithLocks#testProcessExceptionAndRollBack is broken in branch-1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.1
    • 1.7.2
    • test
    • None
    • Reviewed

    Description

      As titled, I found that TestRegionProcessRowsWithLocks#testProcessExceptionAndRollBack is broken while reviewing the PR for HBASE-26977 (pre-commit test log here) with below exceptions:

      [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.166 s <<< FAILURE! - in org.apache.hadoop.hbase.regionserver.TestRegionProcessRowsWithLocks
      [ERROR] testProcessExceptionAndRollBack(org.apache.hadoop.hbase.regionserver.TestRegionProcessRowsWithLocks)  Time elapsed: 5.849 s  <<< ERROR!
      com.google.protobuf.ServiceException: Error calling method hbase.pb.RowProcessorService.Process
      	at org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel.callBlockingMethod(CoprocessorRpcChannel.java:75)
      	at org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos$RowProcessorService$BlockingStub.process(RowProcessorProtos.java:1631)
      	at org.apache.hadoop.hbase.regionserver.TestRegionProcessRowsWithLocks.incrementCounter(TestRegionProcessRowsWithLocks.java:193)
      	at org.apache.hadoop.hbase.regionserver.TestRegionProcessRowsWithLocks.testProcessExceptionAndRollBack(TestRegionProcessRowsWithLocks.java:173)
      

      Manually test the single case in my local environment also failed. Using git bisect, I found the issue was introduced by HBASE-26393 and have been existing for several months (since Oct 23, 2021).

      The fix is straight forward and I will prepare a PR soon.

      Attachments

        Issue Links

          Activity

            People

              liyu Yu Li
              liyu Yu Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: