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

Flink user code classloader should have Flink classloader as parent classloader

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.10.2, 1.0.0
    • Component/s: Runtime / Task
    • Labels:
      None

      Description

      Right now, the user code classloader delegates to the system classloader as parent. That works in Flink standalone settings, but not when the Flink core classes themselves are not loaded with the system classloader (certain embedded setups)

      Giving the classloader that was used to load the Flink core classes (like for example org.apache.flink.runtime.taskmanager.Task.class.getClassLoader() solves that problem and does not break behavior in standalone mode.

        Attachments

          Activity

            People

            • Assignee:
              sewen Stephan Ewen
              Reporter:
              sewen Stephan Ewen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: