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

Terasort TeraOutputFormat does not check for output directory existance

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: examples
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The enforcement that the directory must not yet exist is implemented in FileOutputFormat#checkOutputSpecs by throwing FileAlreadyExistsException. However, terasort uses a specialized output format, TeraOutputFormat, which is a subclass of FileOutputFormat. The subclass overrides checkOutputSpecs, but does not re-implement the existence check and throw FileAlreadyExistsException.

        Attachments

        1. HADOOP-5911.patch
          1 kB
          Bruno P. Kinoshita

          Issue Links

            Activity

              People

              • Assignee:
                kinow Bruno P. Kinoshita
                Reporter:
                ivanmi Ivan Mitic
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: