This is an automated email from the ASF dual-hosted git repository.

eyang 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 3ba090f  HADOOP-16366.  Fixed ProxyUserAuthenticationFilterInitializer 
for timeline server.                Contributed by Prabhu Joseph
3ba090f is described below

commit 3ba090f4360c81c9dfb575efa13b8161c7a5255b
Author: Eric Yang <ey...@apache.org>
AuthorDate: Fri Jun 14 12:54:16 2019 -0400

    HADOOP-16366.  Fixed ProxyUserAuthenticationFilterInitializer for timeline 
server.
                   Contributed by Prabhu Joseph
---
 .../yarn/server/timelineservice/reader/TimelineReaderServer.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderServer.java
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderServer.java
index 49c1d4b..10265c6 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderServer.java
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderServer.java
@@ -165,10 +165,10 @@ public class TimelineReaderServer extends 
CompositeService {
           TimelineReaderAuthenticationFilterInitializer.class.getName())) {
         defaultInitializers.add(
             TimelineReaderAuthenticationFilterInitializer.class.getName());
-      } else {
-        defaultInitializers.add(
-            ProxyUserAuthenticationFilterInitializer.class.getName());
       }
+    } else {
+      defaultInitializers.add(
+          ProxyUserAuthenticationFilterInitializer.class.getName());
     }
 
     defaultInitializers.add(


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to