zabetak commented on code in PR #6321:
URL: https://github.com/apache/hive/pull/6321#discussion_r2815862409


##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/dbinstall/rules/DatabaseRule.java:
##########
@@ -19,11 +19,15 @@
 
 import org.apache.hadoop.hive.metastore.tools.schematool.MetastoreSchemaTool;
 import org.junit.rules.ExternalResource;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Abstract JUnit TestRule for different RDMBS types.
  */
 public abstract class DatabaseRule extends ExternalResource {
+  private static final Logger LOG = 
LoggerFactory.getLogger(DatabaseRule.class);

Review Comment:
   The container.start is using the 
https://projectlombok.org/features/SneakyThrows mechanism so it can throw 
checked exceptions without declaring them.
   
   I don't have a strong feeling about changing the signature, do as you please 
;)



-- 
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]

Reply via email to