You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Balu Vellanki (JIRA)" <ji...@apache.org> on 2015/09/09 20:45:46 UTC
[jira] [Comment Edited] (FALCON-1438) Falcon RestAPI - In case of
error falcon responds with FalconWebException::null
[ https://issues.apache.org/jira/browse/FALCON-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737364#comment-14737364 ]
Balu Vellanki edited comment on FALCON-1438 at 9/9/15 6:45 PM:
---------------------------------------------------------------
This patch ensures FalconWebApplication does not lose the exception message.
I cleaned up the code to reduce code repetition.
Added an integration test.
was (Author: bvellanki):
This patch ensures FalconWebApplication does not lose the exception message.
I cleaned up the code to reduce code repetition.
> Falcon RestAPI - In case of error falcon responds with FalconWebException::null
> -------------------------------------------------------------------------------
>
> Key: FALCON-1438
> URL: https://issues.apache.org/jira/browse/FALCON-1438
> Project: Falcon
> Issue Type: Bug
> Components: webapp
> Affects Versions: 0.7
> Reporter: Balu Vellanki
> Assignee: Balu Vellanki
>
> Originally reported by [~pisaychuk].
> In regression test FeedInstanceStatusTest#feedInstanceStatusRunning we are hitting url http://<falcon-node>:15000/api/instance/kill/feed/rawEmailFeed?user.name=ambari-qa and getting a response:
> {code}
> <?xml version="1.0" encoding="UTF-8"?><instancesResult>
> <status>FAILED</status>
> <message>default/org.apache.falcon.FalconWebException::null
> </message>
> <requestId>default/1673513676@qtp-1725008249-101 - dec88465-194b-4651-a0f2-646251318f59
> </requestId>
> </instancesResult>
> {code}
> While exact error in falcon.application.log is:
> {code}
> org.apache.falcon.FalconException: Start and End dates cannot be empty for Instance POST apis
> {code}
> At least response should contain exact error cause.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)