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/09/10 03:12:45 UTC

[jira] [Commented] (TRAFODION-9) Non-blocking hbase operation to smoothen the data flow in trafodion engine

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

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

GitHub user selvaganesang opened a pull request:

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

    [TRAFODION-9] Non-blocking hbase operation to smoothen the data flow …

    …in trafodion engine
    
    The non-blocking Hbase operation for the index maintenance operators is now enabled by
    default for IUD, merge and update commands.
    
    The Hbase operations put, checkAndPut and delete operations from the trafodion engine
    for the index maintenance is done using Executor Services to make it non-blocking and the
    data flow in the trafodion operators can continue up to the point till it needs to pause for completion.
    
    checkAndDelete is never used for index maintenance now.
    
    Also, ensured that index maintenance uses rowset or single row operators when it should.

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

    $ git pull https://github.com/selvaganesang/incubator-trafodion async_operation

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

    https://github.com/apache/incubator-trafodion/pull/77.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 #77
    
----
commit f6dba67524b8e9bcbef295b2340232ffb878fb58
Author: selvaganesang <se...@esgyn.com>
Date:   2015-09-10T00:51:04Z

    [TRAFODION-9] Non-blocking hbase operation to smoothen the data flow in trafodion engine
    
    The non-blocking hbase operation all index maintenance operators is now enabled by
    default for IUD, merge and update commands.
    
    The hbase operations put, checkAndPut and delete operations from the trafodion engine
    for the index maintenance is done using Executor Services to make it non-blocking and the
    data flow in the trafodion operators can continue up to the point till it needs to pause for completion.
    
    checkAndDelete is never used for index maintenance now.
    
    Also, ensured that index maintenance uses rowset or single row operators when it should.

----


> Non-blocking hbase operation to smoothen the data flow in trafodion engine
> --------------------------------------------------------------------------
>
>                 Key: TRAFODION-9
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-9
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: Selvaganesan Govindarajan
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Currently, when a table has indexes, the row is first inserted into base table and then the corresponding rows are added into the indexes sequentially. Hbase operations are blocking. Hbase operations are done in a different thread making it non-blocking. This allowed the Trafodion engine to flow the tuples through other operators enabling other operators to be scheduled and the tuples processed by them. This allowed the Trafodion engine to initiate insert into base table and indexes in parallel.



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