[
https://issues.apache.org/jira/browse/TRAFODION-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415655#comment-15415655
]
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/649#discussion_r74293382
--- Diff:
core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/client/transactional/TransactionManager.java
---
@@ -2232,7 +2232,7 @@ public void doCommitDDL(final TransactionState
transactionState) throws Unsucces
if (retry)
retrySleep = retry(retrySleep);
}
- } while (retry == true);
+ } while (retry && retryCount++ <= RETRY_ATTEMPTS);
--- End diff --
Thanks @DaveBirdsall. I will consider making this change when I need to
change this file again
> 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)