Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1713

Query fails if numResults is greater than expected value in case of -logs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • trunk
    • None
    • client

    Description

      1. API response fails with "Bad Request" if numResults is greater than the expected value. The error obtained is :

      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>
      
      

      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

      Attachments

        Activity

          People

            deepak.barr Deepak Barr
            pragya.mittal Pragya Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: