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

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

GitHub user jmakes opened a pull request:

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

    SAMZA-1470: Wrong job status returned by YarnRestJobStatusProvider when 
there are multiple app attempts

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jmakes/samza samza-1470

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #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