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

Pragya Mittal updated FALCON-1713:
----------------------------------
    Description: 
1. 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.

2. Also all the instances are not displayed by -logs option.
Even if the process startTime is  2015-12-31T05:47Z it displayed logs starting 
from 2015-12-31T07:00Z

  was:
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 in case of -logs
> -------------------------------------------------------------------------
>
>                 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
>            Priority: Minor
>              Labels: newbie
>
> 1. 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.
> 2. Also all the instances are not displayed by -logs option.
> Even if the process startTime is  2015-12-31T05:47Z it displayed logs 
> starting from 2015-12-31T07:00Z



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

Reply via email to