Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8466

ErrorInfo needs to hold Exception as SerializedThrowable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1, 1.5.0
    • Runtime / Task
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sewen Stephan Ewen
              jelmer1 Jelmer Kuperus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: