소스 검색

HADOOP-11761. Fix findbugs warnings in org.apache.hadoop.security.authentication. Contributed by Li Lu.

Haohui Mai 10 년 전
부모
커밋
82fa3adfd8
2개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      hadoop-common-project/hadoop-auth/dev-support/findbugsExcludeFile.xml
  2. 3 0
      hadoop-common-project/hadoop-common/CHANGES.txt

+ 10 - 0
hadoop-common-project/hadoop-auth/dev-support/findbugsExcludeFile.xml

@@ -34,5 +34,15 @@
     <Method name="getCurrentSecret" />
     <Bug pattern="EI_EXPOSE_REP" />
   </Match>
+  <Match>
+    <Class name="org.apache.hadoop.security.authentication.util.FileSignerSecretProvider" />
+    <Method name="getAllSecrets" />
+    <Bug pattern="EI_EXPOSE_REP" />
+  </Match>
+  <Match>
+    <Class name="org.apache.hadoop.security.authentication.util.FileSignerSecretProvider" />
+    <Method name="getCurrentSecret" />
+    <Bug pattern="EI_EXPOSE_REP" />
+  </Match>
 
 </FindBugsFilter>

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

@@ -1175,6 +1175,9 @@ Release 2.7.0 - UNRELEASED
     HADOOP-11639. Clean up Windows native code compilation warnings related to
     Windows Secure Container Executor. (Remus Rusanu via cnauroth)
 
+    HADOOP-11761. Fix findbugs warnings in org.apache.hadoop.security
+    .authentication. (Li Lu via wheat9)
+
 Release 2.6.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES