steveloughran commented on a change in pull request #2349: URL: https://github.com/apache/hadoop/pull/2349#discussion_r498491655
########## File path: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/output/FileOutputCommitter.java ########## @@ -348,6 +348,16 @@ public Path getWorkPath() throws IOException { * @param context the job's context */ public void setupJob(JobContext context) throws IOException { + // Downgrade v2 to v1 with a warning. + if (algorithmVersion == 2) { + Logger log = LoggerFactory.getLogger( + "org.apache.hadoop.mapreduce.lib.output." + + "FileOutputCommitter.Algorithm"); + + log.warn("The v2 commit algorithm is deprecated;" + + " please switch to the v1 algorithm"); Review comment: switching to your text ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org