[ 
https://issues.apache.org/jira/browse/GOBBLIN-998?focusedWorklogId=357336&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-357336
 ]

ASF GitHub Bot logged work on GOBBLIN-998:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Dec/19 18:58
            Start Date: 10/Dec/19 18:58
    Worklog Time Spent: 10m 
      Work Description: asfgit commented on pull request #2843: [GOBBLIN-998] 
ExecutionStatus should be reset to PENDING before a job retries
URL: https://github.com/apache/incubator-gobblin/pull/2843
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 357336)
    Time Spent: 50m  (was: 40m)

> ExecutionStatus should be reset to PENDING before a job retries
> ---------------------------------------------------------------
>
>                 Key: GOBBLIN-998
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-998
>             Project: Apache Gobblin
>          Issue Type: Bug
>            Reporter: Chen Guo
>            Priority: Critical
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> In the modifyStateIfRetryRequired of KafkaJobStatusMonitor, when the state is 
> Failed and currentAttempts < maxAttempts, the ExecutionStatus is set to 
> Running. 
> However, due to the checkin from 
> GOBBLIN-974([https://github.com/apache/incubator-gobblin/blob/9f50a2563cc257039da44018663b6b9e119fb499/gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/KafkaJobStatusMonitor.java#L159]),
>  the currentAttempts update from a lower-order event(like Orchestrated) 
> cannot be consumed to update the jobState file. Thus it will cause infinite 
> retries in DagManagerThread for failed jobs when it poolAndAdvanceDag.
>  
> The solution is to update ExecutionStatus to PENDING instead of Running.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to