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

Using FlinkUserCodeClassLoaders to load the user class in the perjob mode

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Currently, Flink has the FlinkUserCodeClassLoader, which is using to load user’s class. However, the user class and the system class are all loaded by the system classloader in the perjob mode. This introduces some conflicts.

      This document[1] gives a proposal that makes the FlinkUserClassLoader load the user class in perjob mode. (disscuss with Till[2])

       

      [1]https://docs.google.com/document/d/1fH2Cwrrmps5RxxvVuUdeprruvDNabEaIHPyYps28WM8/edit#heading=h.815t5dodlxh7

      [2] https://docs.google.com/document/d/1SUhFt1BmsGMLUYVa72SWLbNrrWzunvcjAlEm8iusvq0/edit

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            maguowei Guowei Ma
            maguowei Guowei Ma
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 30h Original Estimate - 30h
                30h
                Remaining:
                Time Spent - 2h 10m Remaining Estimate - 29h 40m
                29h 40m
                Logged:
                Time Spent - 2h 10m Remaining Estimate - 29h 40m
                2h 10m

                Issue deployment