Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 082AD17BEE for ; Thu, 26 Mar 2015 06:07:14 +0000 (UTC) Received: (qmail 31969 invoked by uid 500); 26 Mar 2015 06:07:13 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 31925 invoked by uid 500); 26 Mar 2015 06:07:13 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 31914 invoked by uid 99); 26 Mar 2015 06:07:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 06:07:13 +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.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Mar 2015 06:07:12 +0000 Received: (qmail 31834 invoked by uid 99); 26 Mar 2015 06:06:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 06:06:52 +0000 Date: Thu, 26 Mar 2015 06:06:52 +0000 (UTC) From: "Pallavi Rao (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1123) Stacktrace printed by Falcon CLI is not useful to user 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/FALCON-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pallavi Rao updated FALCON-1123: -------------------------------- Attachment: FALCON-1123.patch FalconCLIException is thrown using the messages in the REST API result. So, the stacktrace is not really useful. > Stacktrace printed by Falcon CLI is not useful to user > ------------------------------------------------------ > > Key: FALCON-1123 > URL: https://issues.apache.org/jira/browse/FALCON-1123 > Project: Falcon > Issue Type: Improvement > Reporter: Pallavi Rao > Assignee: Pallavi Rao > Priority: Minor > Attachments: FALCON-1123.patch > > > {code} > C1MLK2JCDTY3:falcon-distributed-0.7-SNAPSHOT pallavi.rao$ bin/falcon entity -type feed -name factual-final-data -definition > Stacktrace: > org.apache.falcon.client.FalconCLIException: Bad Request;factual-final-data (feed) not found > at org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44) > at org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1022) > at org.apache.falcon.client.FalconClient.sendDefinitionRequest(FalconClient.java:695) > at org.apache.falcon.client.FalconClient.getDefinition(FalconClient.java:360) > at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:452) > at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:188) > at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:138) > {code} > The stacktrace doesn't really give any additional information to user. It is just clutter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)