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

Yaguang Jia commented on KYLIN-5434:
------------------------------------

h2. Fix Design:

When restarting a task, kill yarn on the task is executed first, at this time 
the driver process has not been killed off, it will receive an exception and 
thus send a request to the KE process to update the stage state process. This 
is not an expected update and should be intercepted.
h3. To do this.

Before restarting the task, record the task into the ExecutableContext's 
frozenJobs collection, meaning that the task is in restart and should not be 
operated on until the restart process of the task is finished. Just remove it 
from the frozenJobs when the restart is finished. In addition, when updating 
the service of the stage, you need to determine whether the current task is in 
the frozenJobs collection, and if it is, it will not be updated. If it is, then 
it will not be updated. If it is not in the frozenJobs collection, then it will 
be updated.

> Restart the build task when generating a flat table, and generate a flat 
> table status display exception
> -------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5434
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5434
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: 5.0-alpha
>            Reporter: Yaguang Jia
>            Assignee: Yaguang Jia
>            Priority: Major
>             Fix For: 5.0-alpha
>
>
> Restart the build task when generating a flat table, and generate a flat 
> table status display exception



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to