You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ajay Yadav (JIRA)" <ji...@apache.org> on 2014/11/27 08:36:12 UTC
[jira] [Created] (FALCON-922) Better error message if command is
not available
Ajay Yadav created FALCON-922:
---------------------------------
Summary: 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
Assignee: 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)