deniskuzZ commented on code in PR #5870: URL: https://github.com/apache/hive/pull/5870#discussion_r2146974819
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ServletSecurity.java: ########## @@ -156,6 +160,10 @@ public String getServletInfo() { * @return a servlet instance or null if security initialization fails */ public HttpServlet proxy(HttpServlet servlet) { + if (authType == AuthType.NONE) { + LOG.info("No security enabled, not proxying servlet {}", servlet.toString()); Review Comment: minor: `LOG.warn("Servlet security is disabled {} , servlet.toString());` ########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ServletSecurity.java: ########## @@ -156,6 +160,10 @@ public String getServletInfo() { * @return a servlet instance or null if security initialization fails */ public HttpServlet proxy(HttpServlet servlet) { + if (authType == AuthType.NONE) { + LOG.info("No security enabled, not proxying servlet {}", servlet.toString()); Review Comment: minor: `LOG.warn("Servlet security is disabled {}, servlet.toString());` -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org