[ https://issues.apache.org/jira/browse/MAPREDUCE-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636262#comment-13636262 ]
Hudson commented on MAPREDUCE-4898: ----------------------------------- Integrated in Hadoop-Yarn-trunk #188 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/188/]) MAPREDUCE-4898. FileOutputFormat.checkOutputSpecs and FileOutputFormat.setOutputPath incompatible with MR1. (rkanter via tucu) (Revision 1469523) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1469523 Files : * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/output/FileOutputFormat.java * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/TestFileOutputFormat.java > FileOutputFormat.checkOutputSpecs and FileOutputFormat.setOutputPath > incompatible with MR1 > ------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-4898 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4898 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Reporter: Robert Kanter > Assignee: Robert Kanter > Fix For: 2.0.5-beta > > Attachments: MAPREDUCE-4898.patch > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira