[
https://issues.apache.org/jira/browse/HADOOP-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruth Wisniewski updated HADOOP-12026:
-------------------------------------
Attachment: HADOOP-12026.001.patch
> 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
> Attachments: HADOOP-12026.001.patch
>
>
> 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)