You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/27 23:50:27 UTC

[jira] [Commented] (TRAFODION-1564) Region split/balance is not being delayed if Trx Scanner obj is present

    [ https://issues.apache.org/jira/browse/TRAFODION-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977323#comment-14977323 ] 

ASF GitHub Bot commented on TRAFODION-1564:
-------------------------------------------

GitHub user bucaojit opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/148

    [TRAFODION-1564]Split/balance is not being delayed

    Region split/balance is not being delayed if Trx Scanner obj is present
    Fix was to delay on scanners list clear OR pending list clear instead
    of AND.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bucaojit/incubator-trafodion traf_1564

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/148.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #148
    
----
commit fe335020c79adcff023b46dd942ff601ce2330f6
Author: Oliver Bucaojit <ol...@esgyn.com>
Date:   2015-10-27T22:43:49Z

    [TRAFODION-1564]Split/balance is not being delayed
    
    Region split/balance is not being delayed if Trx Scanner obj is present
    Fix was to delay on scanners list clear OR pending list clear instead
    of AND.

----


> Region split/balance is not being delayed if Trx Scanner obj is present
> -----------------------------------------------------------------------
>
>                 Key: TRAFODION-1564
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1564
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: dtm
>            Reporter: Oliver Bucaojit
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)