Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/559#discussion_r68625772
--- Diff:
core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java
---
@@ -452,7 +436,13 @@ public short abortTransaction(final long
transactionID) throws Exception {
Object commitDDLLock = new Object();
synchronized(commitDDLLock)
{
- commitDDLLock.wait();
+ boolean loopBack = false;
+ try {
+ commitDDLLock.wait();
+ } catch(InterruptedException ie) {
+ LOG.warn("Interrupting commitDDLLock.wait, but retrying
", ie);
+ loopBack = true;
+ } while (loopBack);
--- End diff --
Interesting. It is not clear why didn't Java compiler catch this issue. I
am fixing the code to ignore InterruptedException.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---