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

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

GitHub user jmakes opened a pull request:

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

    SAMZA-1470: Wrong job status returned by YarnRestJobStatusProvider wh…

    …en there are multiple app

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

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

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

    https://github.com/apache/samza/pull/339.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 #339
    
----
commit 2d1894ecbe75721d17155601cb3caa6f19addef9
Author: Jacob Maes <[email protected]>
Date:   2017-10-25T21:52:57Z

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

----


> 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