You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jake Maes (JIRA)" <ji...@apache.org> on 2017/10/25 16:15:00 UTC

[jira] [Updated] (SAMZA-1470) Wrong job status returned by YarnRestJobStatusProvider when there are multiple app attempts

     [ https://issues.apache.org/jira/browse/SAMZA-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Maes updated SAMZA-1470:
-----------------------------
    Description: 
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.

  was:
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}


> 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)