[ 
https://issues.apache.org/jira/browse/FALCON-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pragya Mittal updated FALCON-1713:
----------------------------------
    Description: 
API response fails with "Bad Request" if numResults is greater than the 
expected value. The error obtained is :
{noformat}
dataqa@lda01:~$ falcon instance -type process -name 
ProcessWfTest-agregator-coord16-0caad7d5 -logs -numResults 95
ERROR: Bad 
Request;ua1/org.apache.falcon.FalconException::javax.ws.rs.WebApplicationException:
 javax.xml.bind.UnmarshalException: unexpected element (uri:"", 
local:"instancesResult"). Expected elements are <{}result>

{noformat}

In above example the expected value is 92.

> Query fails if numResults is greater than expected value
> --------------------------------------------------------
>
>                 Key: FALCON-1713
>                 URL: https://issues.apache.org/jira/browse/FALCON-1713
>             Project: Falcon
>          Issue Type: Bug
>          Components: client
>    Affects Versions: trunk
>            Reporter: Pragya Mittal
>
> API response fails with "Bad Request" if numResults is greater than the 
> expected value. The error obtained is :
> {noformat}
> dataqa@lda01:~$ falcon instance -type process -name 
> ProcessWfTest-agregator-coord16-0caad7d5 -logs -numResults 95
> ERROR: Bad 
> Request;ua1/org.apache.falcon.FalconException::javax.ws.rs.WebApplicationException:
>  javax.xml.bind.UnmarshalException: unexpected element (uri:"", 
> local:"instancesResult"). Expected elements are <{}result>
> {noformat}
> In above example the expected value is 92.



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

Reply via email to