浏览代码

MAPREDUCE-6595. Fix findbugs warnings in OutputCommitter and FileOutputCommitter. Contributed by Akira AJISAKA.

Junping Du 9 年之前
父节点
当前提交
86560a4978
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 3 0
      hadoop-mapreduce-project/CHANGES.txt
  2. 2 0
      hadoop-mapreduce-project/dev-support/findbugs-exclude.xml

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

@@ -462,6 +462,9 @@ Release 2.8.0 - UNRELEASED
     MAPREDUCE-6584. Remove trailing whitespaces from mapred-default.xml.
     MAPREDUCE-6584. Remove trailing whitespaces from mapred-default.xml.
     (aajisaka)
     (aajisaka)
 
 
+    MAPREDUCE-6595. Fix findbugs warnings in OutputCommitter and 
+    FileOutputCommitter. (Akira AJISAKA via junping_du)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     MAPREDUCE-6376. Add avro binary support for jhist files (Ray Chiang via
     MAPREDUCE-6376. Add avro binary support for jhist files (Ray Chiang via

+ 2 - 0
hadoop-mapreduce-project/dev-support/findbugs-exclude.xml

@@ -159,6 +159,7 @@
        <Method name="commitJob" />
        <Method name="commitJob" />
        <Method name="recoverTask" />
        <Method name="recoverTask" />
        <Method name="isRecoverySupported" />
        <Method name="isRecoverySupported" />
+       <Method name="isCommitJobRepeatable" />
        </Or>
        </Or>
        <Bug pattern="NM_WRONG_PACKAGE" />
        <Bug pattern="NM_WRONG_PACKAGE" />
      </Match>
      </Match>
@@ -170,6 +171,7 @@
        <Method name="cleanupJob" />
        <Method name="cleanupJob" />
        <Method name="recoverTask" />
        <Method name="recoverTask" />
        <Method name="isRecoverySupported" />
        <Method name="isRecoverySupported" />
+       <Method name="isCommitJobRepeatable" />
        </Or>
        </Or>
        <Bug pattern="NM_WRONG_PACKAGE_INTENTIONAL" />
        <Bug pattern="NM_WRONG_PACKAGE_INTENTIONAL" />
      </Match>
      </Match>