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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • client
    • None
    • 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.patch
          5 kB
          George Song
        2. MAPREDUCE-5685.1.patch
          4 kB
          Vinod Kumar Vavilapalli

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: