You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "JieFang.He (Jira)" <ji...@apache.org> on 2022/06/29 00:07:00 UTC

[jira] [Created] (FLINK-28287) Should TaskManagerRunner need a ShutdownHook

|  ![](cid:jira-generated-image-avatar-a4d308aa-b3e8-4979-859b-365c561f63bb) |
[JieFang.He](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hejiefang)
**created** an issue  
---|---  
|  
---  
|  [Flink](https://issues.apache.org/jira/browse/FLINK) /
[![Improvement](cid:jira-generated-image-
avatar-3464224b-ec06-42e0-b7e1-cfbe407aa9b4)](https://issues.apache.org/jira/browse/FLINK-28287)
[FLINK-28287](https://issues.apache.org/jira/browse/FLINK-28287)  
---  
[Should TaskManagerRunner need a
ShutdownHook](https://issues.apache.org/jira/browse/FLINK-28287)  
| Issue Type: |  ![Improvement](cid:jira-generated-image-
avatar-3464224b-ec06-42e0-b7e1-cfbe407aa9b4) Improvement  
---|---  
Affects Versions: |  1.14.0  
Assignee: |  Unassigned  
Created: |  29/Jun/22 00:06  
Priority: |  ![Major](cid:jira-generated-image-static-
major-71997a93-02d0-49ae-9f31-81a5dbae3a35) Major  
Reporter: |
[JieFang.He](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hejiefang)  
|

TaskManagerRunner  has a close method,but did not call when it stop.

Some resources in TaskManagerRunner come with ShutdownHook, but some resources
do not, such as rpcSystem, which causes the temporary file flink-rpc-
akka_*.jar to not be deleted when stop.

Should TaskManagerRunner need a ShutdownHook to call the close method

  
  
---  
|  |  [ ![Add Comment](cid:jira-generated-image-static-comment-icon-
bedf7c75-c916-4094-be58-12181f3b6ca4)
](https://issues.apache.org/jira/browse/FLINK-28287#add-comment "Add Comment")
|  [Add Comment](https://issues.apache.org/jira/browse/FLINK-28287#add-comment
"Add Comment")  
---|---  
  
|  This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) |  |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)  
---