[ 
https://issues.apache.org/jira/browse/SAMZA-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219609#comment-16219609
 ] 

ASF GitHub Bot commented on SAMZA-1470:
---------------------------------------

Github user jmakes closed the pull request at:

    https://github.com/apache/samza/pull/338


> Wrong job status returned by YarnRestJobStatusProvider when there are 
> multiple app attempts
> -------------------------------------------------------------------------------------------
>
>                 Key: SAMZA-1470
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1470
>             Project: Samza
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Jake Maes
>            Assignee: Jake Maes
>
> Before (YarnCliJobStatusProvider)
> {noFormat}
> 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"}]
> {noFormat}
> After (YarnRestJobStatusProvider)
> {noFormat}
> 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"}
> {noFormat}
> The jobs were not changed between the 2 requests and the "Before" provided 
> the correct status.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to