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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: