Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-1564

Region split/balance is not being delayed if Trx Scanner obj is present

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: dtm
    • Labels:
      None

      Description

      A region move/split/rebalance should be delayed when a TransactionalScanner is present on the region coprocessor 'scanners' list. The delay is not happening and is throwing the following error:

          • ERROR[8448] Unable to access Hbase interface. Call to ExpHbaseInterface::nextRow returned error HBASE_ACCESS_ERROR(-706). Cause:
            java.util.concurrent.ExecutionException: java.io.IOException: PerformScan error on coprocessor call, scannerID: 0 java.io.IOException: performScan encountered Exception txID: 562962838798562 Exception: org.apache.hadoop.hbase.UnknownScannerException: ScannerId: 0, already closed?

      While debugging I noticed that in the SplitBalanceHelper the code is waiting for clear scanners list && pending txn list. It should be '||' instead.

        Attachments

          Activity

            People

            • Assignee:
              ovis_poly liu ming
              Reporter:
              obucaojit Oliver Bucaojit
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: