NihalJain commented on code in PR #6783:
URL: https://github.com/apache/hbase/pull/6783#discussion_r2019126147
##########
hbase-http/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java:
##########
@@ -670,8 +665,9 @@ private void initializeWebServer(String name, String
hostName, Configuration con
// Check if disable stack trace property is configured
if (!conf.getBoolean(HTTP_UI_SHOW_STACKTRACE_KEY, true)) {
// Disable stack traces for server errors in UI
- webServer.setErrorHandler(new ErrorHandler());
- webServer.getErrorHandler().setShowStacks(false);
+ ErrorHandler errorHanlder = new ErrorHandler();
+ errorHanlder.setShowStacks(false);
Review Comment:
The method has been removed in jetty 12:
https://javadoc.io/static/org.eclipse.jetty/jetty-server/12.0.18/org.eclipse.jetty.server/org/eclipse/jetty/server/Request.Handler.html
vs
https://javadoc.io/static/org.eclipse.jetty/jetty-server/9.4.57.v20241219/org/eclipse/jetty/server/handler/ErrorHandler.html#setShowStacks(boolean)
--
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]