[ 
https://issues.apache.org/jira/browse/FALCON-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ajay Yadav updated FALCON-922:
------------------------------
    Assignee:     (was: Ajay Yadav)

> Better error message if command is not available
> ------------------------------------------------
>
>                 Key: FALCON-922
>                 URL: https://issues.apache.org/jira/browse/FALCON-922
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Ajay Yadav
>
> If a command is not available through falcon server and user tries to attempt 
> that command then we get a stracktrace like below. This issue is *NOT* to 
> remove stacktrace but to improve the error message which is currently coming 
> as "Not found; " to indicate that this command is not available through 
> falcon server and is only available through prism.
> Stacktrace:
> org.apache.falcon.client.FalconCLIException: Not Found;
> at 
> org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
>       at 
> org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:950)
>       at 
> org.apache.falcon.client.FalconClient.sendEntityRequestWithObject(FalconClient.java:578)
>       at org.apache.falcon.client.FalconClient.validate(FalconClient.java:281)
>       at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:332)
>       at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:175)
>       at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:126)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to