You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Shaik Idris Ali (JIRA)" <ji...@apache.org> on 2014/03/03 13:09:20 UTC

[jira] [Commented] (FALCON-319) Summary instance API returning wrong exception

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

Shaik Idris Ali commented on FALCON-319:
----------------------------------------

Looks fine, can we add a testcase in FalconCLIIT similar to getStatus

 public void testGetStatus() throws Exception {
        Assert.assertEquals(0,
                new FalconCLI().run(("admin -status -url " + TestContext.BASE_URL).split("\\s")));
    }

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