Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5115

MutableIndexSplitForwardScanIT.testSplitDuringIndexScan[MutableIndexSplitIT_localIndex=true,...] is failing

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      I noticed that when testing for PHOENIX-5112.

      Looks like each time we split during a scan we'll get an exception to the client.

      With the problems mentioned in PHOENIX-4849 in mind, I think this is expected, but I wanted to track this here. Specifically there are other scenarios (such as aggregates) where restart upon split cannot be supported.

      2019-01-30 10:28:23,955 DEBUG [phoenix-21-thread-98] org.apache.hadoop.hbase.client.ScannerCallableWithReplicas(200): Scan with primary region returns org.apache.hadoop.hbase.DoNotRetryIOException: org.apache.hadoop.hbase.DoNotRetryIOException: ERROR 1108 (XCL08): Cache of region boundaries are out of date. tableName=TBL_N000775
      	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.throwIfScanOutOfRegion(BaseScannerRegionObserver.java:163)
      	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.preScannerOpen(BaseScannerRegionObserver.java:191)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$43.call(RegionCoprocessorHost.java:1352)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$43.call(RegionCoprocessorHost.java:1349)
      	at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$ObserverOperationWithoutResult.callObserver(CoprocessorHost.java:540)
      	at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.execOperation(CoprocessorHost.java:614)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preScannerOpen(RegionCoprocessorHost.java:1349)
      	at org.apache.hadoop.hbase.regionserver.RSRpcServices.newRegionScanner(RSRpcServices.java:2965)
      	at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:3272)
      	at org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:42002)
      	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:409)
      	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)
      	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)
      	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
      Caused by: org.apache.phoenix.schema.StaleRegionBoundaryCacheException: ERROR 1108 (XCL08): Cache of region boundaries are out of date. tableName=TBL_N000775
      	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.throwIfScanOutOfRegion(BaseScannerRegionObserver.java:162)
      	... 13 more
      
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment