You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2018/01/24 21:34:00 UTC

[jira] [Resolved] (FLINK-8466) ErrorInfo needs to hold Exception as SerializedThrowable

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

Stephan Ewen resolved FLINK-8466.
---------------------------------
    Resolution: Fixed

Fixed in
  - 1.4.1 via 4d1ba45e78fa4ed6cd5af0405c7988ffaa6dee13
  - 1.5.0 via 524c5013a1e877cdaf2f4269863a49851eabda85

> ErrorInfo needs to hold Exception as SerializedThrowable
> --------------------------------------------------------
>
>                 Key: FLINK-8466
>                 URL: https://issues.apache.org/jira/browse/FLINK-8466
>             Project: Flink
>          Issue Type: Bug
>          Components: Local Runtime
>    Affects Versions: 1.4.0
>            Reporter: Jelmer Kuperus
>            Assignee: Stephan Ewen
>            Priority: Blocker
>             Fix For: 1.5.0, 1.4.1
>
>         Attachments: Screen Shot 2018-01-20 at 1.48.33 PM.png
>
>
> MemoryArchivist holding on to last thrown exception prevents the user code classloader from being garbage collected.
> MemoryArchivist holds on to any number of ArchivedExecutionGraph's. These ArchivedExecutionGraph instances contain a failureCause field of type ErrorInfo that wrap the exception in case one was thrown to terminate the job
> This exception class will more often than not have been loaded by a user code classloader, and as long as the MemoryArchivist holds on to this exception, the JVM won't be able to reclaim the resources held by this classloader



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)