pvargacl commented on a change in pull request #2074:
URL: https://github.com/apache/hive/pull/2074#discussion_r595012279
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java
##########
@@ -3585,6 +3587,34 @@ public ShowCompactResponse
showCompact(ShowCompactRequest rqst) throws MetaExcep
}
}
+ public MetricsInfo getMetricsInfo() throws MetaException {
+ Connection dbConn = null;
+ Statement stmt = null;
+ try {
Review comment:
can you use try-with-resources?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]