From 0a149f3413afec4318206031570e957a970bd5f3 Mon Sep 17 00:00:00 2001 From: Varun Vasudev Date: Mon, 11 Apr 2016 09:39:57 +0530 Subject: [PATCH] YARN-4562. YARN WebApp ignores the configuration passed to it for keystore settings. Contributed by Sergey Shelukhin. Added CHANGES.txt entry (cherry picked from commit 07920acc165f17e8fe3ca9d21283a2123223f438) (cherry picked from commit 4baee3eb674cfdab6e1bfa678211354656829ae3) --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/yarn/webapp/WebApps.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 5f68a43e700..3b04050d7db 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -73,6 +73,9 @@ Release 2.7.4 - UNRELEASED YARN-6310. OutputStreams in AggregatedLogFormat.LogWriter can be left open upon exceptions (Haibo Chen via jlowe) + YARN-4562. YARN WebApp ignores the configuration passed to it for keystore + settings (Sergey Shelukhin via vvasudev) + Release 2.7.3 - 2016-08-25 INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/WebApps.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/WebApps.java index 0c6edad2a89..da464a951c5 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/WebApps.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/WebApps.java @@ -255,7 +255,7 @@ public class WebApps { } if (httpScheme.equals(WebAppUtils.HTTPS_PREFIX)) { - WebAppUtils.loadSslConfiguration(builder); + WebAppUtils.loadSslConfiguration(builder, conf); } HttpServer2 server = builder.build();