falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1123) Stacktrace printed by Falcon CLI is not useful to user
Date Thu, 26 Mar 2015 06:06:52 GMT

     [ 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)

Mime
View raw message