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

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

Github user selvaganesang commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/645#discussion_r73978339
  
    --- Diff: 
core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/client/transactional/TransactionManager.java
 ---
    @@ -2288,19 +2229,10 @@ public void doCommitDDL(final TransactionState 
transactionState) throws Unsucces
                                 //Throwing a new exception gets out of the 
loop.
                                 throw new UnsuccessfulDDLException(e);
                             }
    -
    -                        retryCount++;
    -                        if (retryCount < RETRY_ATTEMPTS)
    -                        {
    -                            try {
    -                                Thread.sleep(retrySleep);
    -                            } catch(InterruptedException ex) {
    -                                Thread.currentThread().interrupt();
    -                            }
    -                            retrySleep += TM_SLEEP_INCR;
    -                        }
    +                        if (retry) 
    +                            retrySleep = retry(retrySleep);
                         }
    -                }while (retryCount < RETRY_ATTEMPTS && retry == true);
    +                } while (retry == true);
    --- End diff --
    
    Thanks Trina. Good catch. This needs to be fixed.


> Trafodion to avoid use of deprecated HBase APIs/Classes
> -------------------------------------------------------
>
>                 Key: TRAFODION-2129
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2129
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: dtm, sql-exe
>    Affects Versions: 2.0-incubating
>            Reporter: Selvaganesan Govindarajan
>            Assignee: Selvaganesan Govindarajan
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Avoid the use of HConnection, HConnectionManager and, HBaseAdmin in Trafodion 
> and use Connection, ConnectionFactory and Admin respectively. 



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

Reply via email to