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 9B07710FE9 for ; Thu, 6 Jun 2013 22:26:24 +0000 (UTC) Received: (qmail 47525 invoked by uid 500); 6 Jun 2013 22:26:21 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 47487 invoked by uid 500); 6 Jun 2013 22:26:21 -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 47436 invoked by uid 99); 6 Jun 2013 22:26:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 22:26:21 +0000 Date: Thu, 6 Jun 2013 22:26:21 +0000 (UTC) From: "Junping Du (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9447) Configuration to include name of failing file/resource when wrapping an XML parser exception 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-9447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677602#comment-13677602 ] Junping Du commented on HADOOP-9447: ------------------------------------ Agree. The information in stack trace sounds adequate enough so may not necessary for defining an additional exception here. Thanks Luke for comments. Steve, I saw in your YARN-530 (v19) already cover code changes here and remove in v20 and v21. Do you want to address it here or YARN-530? > Configuration to include name of failing file/resource when wrapping an XML parser exception > -------------------------------------------------------------------------------------------- > > Key: HADOOP-9447 > URL: https://issues.apache.org/jira/browse/HADOOP-9447 > Project: Hadoop Common > Issue Type: Improvement > Components: conf > Affects Versions: 3.0.0 > Reporter: Steve Loughran > Priority: Trivial > Attachments: HADOOP-9447-2.patch, HADOOP-9447.patch, HADOOP-9447-v3.patch, HADOOP-9447-v4.patch > > > Currently, when there is an error parsing an XML file, the name of the file at fault is logged, but not included in the (wrapped) XML exception. If that same file/resource name were included in the text of the wrapped exception, people would be able to find out which file was causing problems -- 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