Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1470

Wrong job status returned by YarnRestJobStatusProvider when there are multiple app attempts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • None
    • None

    Description

      Before (YarnCliJobStatusProvider)

      curl localhost:9139/v1/jobs
      [{"jobName":"maes-samza-tests-high-level-api","jobId":"i002","status":"STARTED","statusDetail":"RUNNING"},{"jobName":"samza-hello-state","jobId":"i001","status":"STOPPED","statusDetail":"KILLED"},{"jobName":"maes-samza-tests-host-affinity","jobId":"i001","status":"STARTED","statusDetail":"RUNNING"},{"jobName":"maes-samza-tests-high-level-api","jobId":"i001","status":"STARTED","statusDetail":"RUNNING"},{"jobName":"samza-demo-svenkata-samza-hello-world","jobId":"i001","status":"STOPPED","statusDetail":"KILLED"}]
      

      After (YarnRestJobStatusProvider)

      curl localhost:9139/v1/jobs
      [{"jobName":"maes-samza-tests-high-level-api","jobId":"i002","status":"STOPPED","statusDetail":"KILLED"},{"jobName":"maes-samza-tests-host-affinity","jobId":"i001","status":"STOPPED","statusDetail":"KILLED"},{"jobName":"maes-samza-tests-high-level-api","jobId":"i001","status":"STOPPED","statusDetail":"KILLED"}
      

      The jobs were not changed between the 2 requests and the "Before" provided the correct status.

      Attachments

        Activity

          People

            jmakes Jake Maes
            jmakes Jake Maes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: