浏览代码

YARN-3837. javadocs of TimelineAuthenticationFilterInitializer give wrong
prefix for auth options. Contributed by Bibin A Chundatt.

(cherry picked from commit af63427c6d7d2fc251eafb1f152b7a90c5bd07e5)

Devaraj K 10 年之前
父节点
当前提交
f558429efe

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

@@ -544,6 +544,9 @@ Release 2.8.0 - UNRELEASED
     YARN-3882. AggregatedLogFormat should close aclScanner and ownerScanner
     after create them. (zhihai xu via xgong)
 
+    YARN-3837. javadocs of TimelineAuthenticationFilterInitializer give wrong
+    prefix for auth options. (Bibin A Chundatt via devaraj)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 2 - 3
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/timeline/security/TimelineAuthenticationFilterInitializer.java

@@ -62,9 +62,8 @@ public class TimelineAuthenticationFilterInitializer extends FilterInitializer {
    * Initializes {@link TimelineAuthenticationFilter}
    * <p>
    * Propagates to {@link TimelineAuthenticationFilter} configuration all YARN
-   * configuration properties prefixed with
-   * {@code yarn.timeline-service.authentication.}
-   * 
+   * configuration properties prefixed with {@value #PREFIX}
+   *
    * @param container
    *          The filter container
    * @param conf