[jira] [Updated] (FLINK-14300) StreamTask#invoke leaks threads if OperatorChain fails to be constructed

2019-10-08 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated FLINK-14300:
---
Labels: pull-request-available  (was: )

> StreamTask#invoke leaks threads if OperatorChain fails to be constructed
> 
>
> Key: FLINK-14300
> URL: https://issues.apache.org/jira/browse/FLINK-14300
> Project: Flink
>  Issue Type: Bug
>  Components: Runtime / Task
>Affects Versions: 1.8.1, 1.8.2, 1.9.0
>Reporter: Marcos Klein
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.10.0
>
> Attachments: thread-leak-patch.diff
>
>
> In the *StreamTask#invoke* method if an exception occurs during the 
> allocation of the 
> [operatorChain|[https://github.com/apache/flink/blob/release-1.9.0/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L370]]
>  class, the [exception 
> handling|[https://github.com/apache/flink/blob/release-1.9.0/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L485-L491]]
>  fails to cleanup the threads allocated as *StreamTask#recordWriters*. This 
> causes threads to leak as flink attempts to continually restart and fail for 
> the same cause.
>  
> An example cause is a deserialization issue on a custom operator from a 
> checkpoint.
>  
> Attached is a suggested fix for the master branch.



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


[jira] [Updated] (FLINK-14300) StreamTask#invoke leaks threads if OperatorChain fails to be constructed

2019-10-02 Thread Piotr Nowojski (Jira)


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

Piotr Nowojski updated FLINK-14300:
---
Fix Version/s: 1.10.0

> StreamTask#invoke leaks threads if OperatorChain fails to be constructed
> 
>
> Key: FLINK-14300
> URL: https://issues.apache.org/jira/browse/FLINK-14300
> Project: Flink
>  Issue Type: Bug
>  Components: Runtime / Task
>Affects Versions: 1.8.1, 1.8.2, 1.9.0
>Reporter: Marcos Klein
>Priority: Minor
> Fix For: 1.10.0
>
> Attachments: thread-leak-patch.diff
>
>
> In the *StreamTask#invoke* method if an exception occurs during the 
> allocation of the 
> [operatorChain|[https://github.com/apache/flink/blob/release-1.9.0/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L370]]
>  class, the [exception 
> handling|[https://github.com/apache/flink/blob/release-1.9.0/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L485-L491]]
>  fails to cleanup the threads allocated as *StreamTask#recordWriters*. This 
> causes threads to leak as flink attempts to continually restart and fail for 
> the same cause.
>  
> An example cause is a deserialization issue on a custom operator from a 
> checkpoint.
>  
> Attached is a suggested fix for the master branch.



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


[jira] [Updated] (FLINK-14300) StreamTask#invoke leaks threads if OperatorChain fails to be constructed

2019-09-30 Thread Marcos Klein (Jira)


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

Marcos Klein updated FLINK-14300:
-
Summary: StreamTask#invoke leaks threads if OperatorChain fails to be 
constructed  (was: org.apache.flink.streaming.runtime.tasks.StreamTask#invoke 
leaks threads if  org.apache.flink.streaming.runtime.tasks.OperatorChain fails 
to be constructed)

> StreamTask#invoke leaks threads if OperatorChain fails to be constructed
> 
>
> Key: FLINK-14300
> URL: https://issues.apache.org/jira/browse/FLINK-14300
> Project: Flink
>  Issue Type: Bug
>  Components: Runtime / Task
>Affects Versions: 1.8.1, 1.8.2, 1.9.0
>Reporter: Marcos Klein
>Priority: Minor
> Attachments: thread-leak-patch.diff
>
>
> In the *StreamTask#invoke* method if an exception occurs during the 
> allocation of the 
> [operatorChain|[https://github.com/apache/flink/blob/release-1.9.0/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L370]]
>  class, the [exception 
> handling|[https://github.com/apache/flink/blob/release-1.9.0/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L485-L491]]
>  fails to cleanup the threads allocated as *StreamTask#recordWriters*. This 
> causes threads to leak as flink attempts to continually restart and fail for 
> the same cause.
>  
> An example cause is a deserialization issue on a custom operator from a 
> checkpoint.
>  
> Attached is a suggested fix for the master branch.



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