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

MapFileOutputFormat#getReaders bug with invisible files/folders

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      MapReduce jobs also produce some invisible files such as _SUCCESS, even when the output format is MapFileOutputFormat. MapFileOutputFormat#getReaders however reads the entire content of the job output, assming that they are MapFiles.

      Path[] names = FileUtil.stat2Paths(fs.listStatus(dir));
      

      It should use a filter to skip the files that start with "." or "_".

        Attachments

        1. MAPREDUCE-5448.patch
          3 kB
          Maysam Yabandeh
        2. MAPREDUCE-5448.patch
          4 kB
          Harsh J
        3. MAPREDUCE-5448.addendum.patch
          1 kB
          Harsh J

          Activity

            People

            • Assignee:
              maysamyabandeh Maysam Yabandeh
              Reporter:
              maysamyabandeh Maysam Yabandeh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified