You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ruth Wisniewski (JIRA)" <ji...@apache.org> on 2015/05/23 20:14:17 UTC
[jira] [Created] (HADOOP-12026) Improve how error messages are
displayed from jobclient - changes to Common
Ruth Wisniewski created HADOOP-12026:
----------------------------------------
Summary: Improve how error messages are displayed from jobclient - changes to Common
Key: HADOOP-12026
URL: https://issues.apache.org/jira/browse/HADOOP-12026
Project: Hadoop Common
Issue Type: Improvement
Reporter: Ruth Wisniewski
Assignee: Ruth Wisniewski
Priority: Minor
This patch has the changes to Common needed for MAPREDUCE-347, which prints a message rather than the whole stack trace when the output directory already exists. The attached patch adds the OutputDirectoryAlreadyExistsException, and the handling of this exception in RunJar.java. Modified tests are included in the Mapreduce part of this patch, which depends on the changes to Common. If you would like me to upload the entire patch with the Mapreduce changes here, please let me know. (Otherwise I'll add the Mapreduce changes to the MAPREDUCE-347 issue after this patch is accepted.)
The Mapreduce changes are necessary for the patch to really work. They throw the exception when the output directory is found to exist in FileOutputFormat.java. They also will modify a test and ExampleDriver.java.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)