falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1380) Triage Result throws incorrect error message on prism for an invalid process instance
Date Mon, 10 Aug 2015 04:53:45 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679559#comment-14679559
] 

Pallavi Rao commented on FALCON-1380:
-------------------------------------

+1 for the patch.

However, I feel we shouldn't send the stack trace as part of a web service response. That
is how it has been historically. Filed FALCON-1381 to address the same.

> Triage Result throws incorrect error message on prism for an invalid process instance
> -------------------------------------------------------------------------------------
>
>                 Key: FALCON-1380
>                 URL: https://issues.apache.org/jira/browse/FALCON-1380
>             Project: Falcon
>          Issue Type: Sub-task
>            Reporter: Ajay Yadava
>            Assignee: Ajay Yadava
>             Fix For: 0.7
>
>         Attachments: FALCON-1380.patch
>
>
> The web service response has now changed to :
> <?xml version="1.0" encoding="UTF-8"?><result>
>   <status>FAILED</status>
> <message>ua1/java.lang.ClassCastException::org.apache.falcon.resource.APIResult
cannot be cast to org.apache.falcon.resource.TriageResult
> </message>
>   <requestId>ua1/1205515847@qtp-943081537-20 - 1d4bb5ee-9804-4065-aa73-29866a8384ac
> </requestId>
> </result>
> Reported by [~karishmag9]



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

Mime
View raw message