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