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

ASF GitHub Bot commented on FLINK-8741:
---------------------------------------

Github user zhangminglei commented on the issue:

    https://github.com/apache/flink/pull/5568
  
    Yes. Solved my end-to-end test doubt. But I would like to ask another 
question about child-first classloading in this issue. My understand is , If I 
submitted a flink application jar to flink cluster. And in my jar, there is a 
class class called ```xxx1.1.class``` file. But flink ( like flink1.3.2 ) 
classpath also has that file but the version is different from that one, called 
```xxx1.2.class```. So, if I use child first. Then, the system will load my 
```xxx1.1.class``` , instead of loading ```xxx1.2.class``` . My understanding 
correct ?


> KafkaFetcher09/010/011 uses wrong user code classloader
> -------------------------------------------------------
>
>                 Key: FLINK-8741
>                 URL: https://issues.apache.org/jira/browse/FLINK-8741
>             Project: Flink
>          Issue Type: Bug
>          Components: Kafka Connector
>    Affects Versions: 1.5.0, 1.4.1
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Blocker
>             Fix For: 1.5.0, 1.4.2
>
>
> This commit 
> https://github.com/apache/flink/commit/0a1ce0060ef3af29b196ab6ad58f97e49a40a4cf#diff-51fb939365cf758a89794a2599344702R98
>  caused the wrong classloader to be used.
> The user code classloader should be used directly, not its parent. That 
> change seems to be irrelevant to the issue, and seems to have been changed by 
> accident.



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

Reply via email to