Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6606

Findbug issue in org.apache.hadoop.mapred.OutputCommitter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.hadoop.mapred.OutputCommitter.isCommitJobRepeatable(JobContext) doesn't override method in superclass because parameter type org.apache.hadoop.mapred.JobContext doesn't match superclass parameter type org.apache.hadoop.mapreduce.JobContext
      	
      
      Bug type NM_WRONG_PACKAGE_INTENTIONAL (click for details)
      In class org.apache.hadoop.mapred.OutputCommitter
      In method org.apache.hadoop.mapred.OutputCommitter.isCommitJobRepeatable(JobContext)
      superclass is org.apache.hadoop.mapreduce.OutputCommitter
      Did you intend to override org.apache.hadoop.mapreduce.OutputCommitter.isCommitJobRepeatable(JobContext)
      Actual type org.apache.hadoop.mapred.JobContext
      Expected org.apache.hadoop.mapreduce.JobContext
      Overrides org.apache.hadoop.mapred.OutputCommitter.isCommitJobRepeatable(JobContext)
      At OutputCommitter.java:[line 230]
      

      https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/6268/artifact/patchprocess/branch-findbugs-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-warnings.html#Warnings_BAD_PRACTICE

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bibinchundatt Bibin Chundatt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: