falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-319) Summary instance API returning wrong exception
Date Mon, 03 Mar 2014 12:11:21 GMT

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

Shwetha G S commented on FALCON-319:
------------------------------------

There is already one. But it doesn't validate anything
        Assert.assertEquals(0,
                executeWithURL("instance -summary -type process -name "
                        + overlay.get("processName")
                        + " -start " + START_INSTANCE));



> Summary instance API returning wrong exception
> ----------------------------------------------
>
>                 Key: FALCON-319
>                 URL: https://issues.apache.org/jira/browse/FALCON-319
>             Project: Falcon
>          Issue Type: Bug
>          Components: common
>         Environment: QA
>            Reporter: Samarth Gupta
>            Assignee: Shwetha G S
>             Fix For: 0.5
>
>         Attachments: FALCON-319.patch
>
>
> sending time previous to start time of process fails the request with invalid exception:
> [InstanceUtil] [INFO] hitting the url: http://10.14.118.26:16000/api/instance/summary/process/agregator-coord16-8c86498c-22fc-42fa-b481-16e789b1cb8a/?start=2014-02-20T08:54Z&colo=*
> [InstanceUtil] [INFO] The web service response status is 400
> [InstanceUtil] [INFO] The web service response is: <?xml version="1.0" encoding="UTF-8"
standalone="yes"?><instancesSummaryResult><status>FAILED</status><message>ua1/org.apache.falcon.FalconException::javax.ws.rs.WebApplicationException:
javax.xml.bind.UnmarshalException: unexpected element (uri:&quot;&quot;, local:&quot;instancesResult&quot;).
Expected elements are &lt;{}instance-summary&gt;,&lt;{}instancesSummaryResult&gt;,&lt;{}result&gt;
> </message><requestId>ua1/e8876cff-393a-434a-b76b-cb916be8e7d6
> </requestId></instancesSummaryResult>



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message