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 66F7D4225 for ; Mon, 6 Jun 2011 20:23:22 +0000 (UTC) Received: (qmail 77981 invoked by uid 500); 6 Jun 2011 20:23:22 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 77946 invoked by uid 500); 6 Jun 2011 20:23:22 -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 77938 invoked by uid 99); 6 Jun 2011 20:23:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 20:23:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 20:23:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3C004104D14 for ; Mon, 6 Jun 2011 20:22:59 +0000 (UTC) Date: Mon, 6 Jun 2011 20:22:59 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <340734413.1734.1307391779242.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <671647059.63008.1307027027379.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7353) Cleanup FsShell and prevent masking of RTE stacktraces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045068#comment-13045068 ] Aaron T. Myers commented on HADOOP-7353: ---------------------------------------- +1, latest patch looks good to me. > Cleanup FsShell and prevent masking of RTE stacktraces > ------------------------------------------------------ > > Key: HADOOP-7353 > URL: https://issues.apache.org/jira/browse/HADOOP-7353 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.23.0 > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Attachments: HADOOP-7353-2.patch, HADOOP-7353.patch > > > {{FsShell}}'s top level exception handler catches and displays exceptions. Unfortunately it displays only the first line of an exception, which means an unexpected {{RuntimeExceptions}} like {{NullPointerException}} only display "{{cmd: NullPointerException}}". This user has no context to understand and/or accurately report the issue. > Found due to bugs such as {{HADOOP-7327}}. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira