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:31:45 UTC

[jira] [Updated] (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:all-tabpanel ]

Balu Vellanki updated FALCON-1438:
----------------------------------
    Attachment: FALCON-1438.patch

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
>         Attachments: FALCON-1438.patch
>
>
> 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)