deniskuzZ commented on a change in pull request #2642:
URL: https://github.com/apache/hive/pull/2642#discussion_r710060080
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java
##########
@@ -3487,6 +3487,16 @@ public HeartbeatTxnRangeResponse
heartbeatTxnRange(HeartbeatTxnRangeRequest rqst
}
}
+ long generateCompactionQueueId(Connection dbConn) throws SQLException,
MetaException {
+ Statement stmt = null;
+ try {
Review comment:
use try-with-resources statement so you don't need to manage close
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]