falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-1438) Falcon RestAPI - In case of error falcon responds with FalconWebException::null
Date Wed, 09 Sep 2015 18:45:46 GMT

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

Mime
View raw message