[
https://issues.apache.org/jira/browse/FLINK-8741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376787#comment-16376787
]
ASF GitHub Bot commented on FLINK-8741:
---------------------------------------
Github user zhangminglei commented on a diff in the pull request:
https://github.com/apache/flink/pull/5568#discussion_r170577917
--- Diff: test-infra/end-to-end-test/test_streaming_kafka010.sh ---
@@ -64,18 +65,18 @@ $KAFKA_DIR/bin/kafka-topics.sh --create --zookeeper
localhost:2181 --replication
$KAFKA_DIR/bin/kafka-topics.sh --create --zookeeper localhost:2181
--replication-factor 1 --partitions 1 --topic test-output
# run the Flink job (detached mode)
-$FLINK_DIR/bin/flink run -d
build-target/examples/streaming/Kafka010Example.jar \
+$FLINK_DIR/bin/flink run -d
$FLINK_DIR/examples/streaming/Kafka010Example.jar \
--- End diff --
This ```Kafka010Example.jar``` is the use code and load this jar with child
first classloading in this test ?
> 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)