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

FileOutputFormat.checkOutputSpecs and FileOutputFormat.setOutputPath incompatible with MR1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • mrv2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: