You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2025/12/29 20:16:16 UTC
(hadoop) branch trunk updated: YARN-10972. Remove stack traces from Jetty's response for Security Reasons. (#3502)
This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new ee73a9b7db7 YARN-10972. Remove stack traces from Jetty's response for Security Reasons. (#3502)
ee73a9b7db7 is described below
commit ee73a9b7db7db9d213354c5ffc33c3d8027c10c6
Author: Tamas Domok <td...@cloudera.com>
AuthorDate: Mon Dec 29 21:16:09 2025 +0100
YARN-10972. Remove stack traces from Jetty's response for Security Reasons. (#3502)
---
.../hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java
index 597bec55ecc..c4f2162efc5 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java
@@ -769,6 +769,7 @@ private void initializeWebServer(String name, String hostName,
throws IOException {
Preconditions.checkNotNull(webAppContext);
+ webAppContext.getErrorHandler().setShowStacks(LOG.isTraceEnabled());
int maxThreads = conf.getInt(HTTP_MAX_THREADS_KEY, -1);
// If HTTP_MAX_THREADS is not configured, QueueThreadPool() will use the
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org