[ https://issues.apache.org/jira/browse/HIVE-4996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13887423#comment-13887423 ]
Szehon Ho commented on HIVE-4996: --------------------------------- One more observation about the particular BoneCP error "BoneCP detected an unclosed connection and will now attempt to close it for you." It seems it is a problem of the 0.8.0 release. There are some discussions about this, including at [http://jolbox.com/forum/viewtopic.php?f=3&t=387&start=10|http://jolbox.com/forum/viewtopic.php?f=3&t=387&start=10]. We have not seen the error when we reverted back to BoneCP 0.7.1. But I guess this is an orthogonal issue, as any transient DB/Bonecp error will be hidden by RetryingRawStore bug. Just so happens that with BoneCP 0.8.0, it seems to be more frequent. > unbalanced calls to openTransaction/commitTransaction > ----------------------------------------------------- > > Key: HIVE-4996 > URL: https://issues.apache.org/jira/browse/HIVE-4996 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.10.0, 0.11.0, 0.12.0 > Environment: hiveserver1 Java HotSpot(TM) 64-Bit Server VM (build > 20.6-b01, mixed mode) > Reporter: wangfeng > Assignee: Szehon Ho > Priority: Critical > Labels: hive, metastore > Attachments: hive-4996.path > > Original Estimate: 504h > Remaining Estimate: 504h > > when we used hiveserver1 based on hive-0.10.0, we found the Exception > thrown.It was: > FAILED: Error in metadata: MetaException(message:java.lang.RuntimeException: > commitTransaction was called but openTransactionCalls = 0. This probably > indicates that the > re are unbalanced calls to openTransaction/commitTransaction) > FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask > help -- This message was sent by Atlassian JIRA (v6.1.5#6160)