You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Guowei Ma (Jira)" <ji...@apache.org> on 2019/12/09 07:02:00 UTC

[jira] [Comment Edited] (FLINK-13993) Using FlinkUserCodeClassLoaders to load the user class in the perjob mode

    [ https://issues.apache.org/jira/browse/FLINK-13993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16991190#comment-16991190 ] 

Guowei Ma edited comment on FLINK-13993 at 12/9/19 7:01 AM:
------------------------------------------------------------

[~tison] Sorry for the late reply.  I think your method could work.  But the benefit of my method could lead that the directory structure of TM&JM is almost the same in every mode.

 

[~liyu] yes I would do it.


was (Author: maguowei):
[~tison] Sorry for the late reply.  I think your method could work.  But the method leads that the directory structure of TM&JM is almost the same in every mode.

 

[~liyu] yes I would do it.

> Using FlinkUserCodeClassLoaders to load the user class in the perjob mode
> -------------------------------------------------------------------------
>
>                 Key: FLINK-13993
>                 URL: https://issues.apache.org/jira/browse/FLINK-13993
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.9.0, 1.10.0
>            Reporter: Guowei Ma
>            Assignee: Guowei Ma
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>   Original Estimate: 30h
>          Time Spent: 20m
>  Remaining Estimate: 29h 40m
>
> 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]



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