ydodeja365 commented on code in PR #5205:
URL: https://github.com/apache/hbase/pull/5205#discussion_r1182702887


##########
hbase-http/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java:
##########
@@ -652,6 +654,16 @@ private void initializeWebServer(String name, String 
hostName, Configuration con
         addFilterPathMapping(path, webAppContext);
       }
     }
+    // Check if disable stack trace property is configured
+    if (null != conf.get(HTTP_UI_SHOW_STACKTRACE_KEY, null)) {

Review Comment:
   If I do that, showStackTraces will always be true in the if block, I do not 
want to instantiate a new web server when the config is not set, hence this 
approach



-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to