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

getCacheFiles() api doesn't work in WrappedReducer.java due to typo

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Typo in WrappedReducer.java which causes getCacheFiles() fucntions returns null

      Java File: hadoop-common / hadoop-mapreduce-project / hadoop-mapreduce-client / hadoop-mapreduce-client-core / src / main / java / org / apache / hadoop / mapreduce / lib / reduce / WrappedReducer.java

      line 140:
      Error code:

      return reduceContext.getCacheArchives();
      

      Should be:

      return reduceContext.getCacheFiles();
      

        Attachments

        1. MAPREDUCE-5685.1.patch
          4 kB
          Vinod Kumar Vavilapalli
        2. MAPREDUCE-5685.patch
          5 kB
          George Song

          Issue Links

            Activity

              People

              • Assignee:
                yisong George Song
                Reporter:
                yisong George Song
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: