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

FileOutputFormat.checkOutputSpecs and FileOutputFormat.setOutputPath incompatible with MR1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-beta
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In MR1, org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs throws org.apache.hadoop.mapred.FileAlreadyExistsException but now it throws org.apache.hadoop.fs.FileAlreadyExistsException instead, making them incompatible.

      In MR1, org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.setOutputPath doesn't throw any exceptions but now it throws an IOException, making them incompatible.

        Attachments

        1. MAPREDUCE-4898.patch
          5 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: