Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 723F918650 for ; Sat, 23 May 2015 18:21:17 +0000 (UTC) Received: (qmail 69633 invoked by uid 500); 23 May 2015 18:21:17 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 69582 invoked by uid 500); 23 May 2015 18:21:17 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 69567 invoked by uid 99); 23 May 2015 18:21:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 May 2015 18:21:17 +0000 Date: Sat, 23 May 2015 18:21:17 +0000 (UTC) From: "Ruth Wisniewski (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12026) Improve how error messages are displayed from jobclient - changes to Common MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557456#comment-14557456 ] Ruth Wisniewski commented on HADOOP-12026: ------------------------------------------ Please review, thanks! > 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)