Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5911

Terasort TeraOutputFormat does not check for output directory existance

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development