[
https://issues.apache.org/jira/browse/FLINK-23958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404230#comment-17404230
]
Chesnay Schepler commented on FLINK-23958:
------------------------------------------
Let's see if I understood the issue.
You have a class in your user-jar that overwrites a class within Flink. You
configure the parent-first class-loading, and expect the original class from
Flink to be loaded, but this is not the case.
> parent-first class orders configuration not effect
> --------------------------------------------------
>
> Key: FLINK-23958
> URL: https://issues.apache.org/jira/browse/FLINK-23958
> Project: Flink
> Issue Type: Bug
> Components: API / Core
> Affects Versions: 1.13.2
> Reporter: waywtdcc
> Priority: Major
> Attachments: image-2021-08-25-11-16-34-397.png,
> image-2021-08-25-11-16-34-432.png, image-2021-08-25-11-16-39-960.png
>
>
> * Scene
> Use classloader.resolve-order to configure parent-first, and modify the
> source code, then print out the modified source code output
> * command
>
> {code:java}
> /home/aicore/opt/apps/soft/flink-1.13.2/bin/flink \ run-application \ -t
> yarn-application \ -Dyarn.application.name="TestInnerJoinTable2" \
> -Dyarn.application.queue="default" \ -Dparallelism.default=1 \
> -Dstate.checkpoints.dir="hdfs:///flink-data/checkpoints/TestInnerJoinTable2"
> \ -Dyarn.containers.vcores=1 \ -Dexecution.checkpointing.interval="5min" \
> -Dexecution.checkpointing.snapshot-compression="true" \
> -Dexecution.checkpointing.timeout="50min" \ -Dtaskmanager.numberOfTaskSlots=1
> \ -Djobmanager.memory.process.size=1g \
> -Dtaskmanager.memory.process.size=1024m \
> -Dclassloader.resolve-order="parent-first" \
> /home/aicore/opt/apps/soft/flink-1.13.2/user_jars/bigdata-flink/flink-job/target/flink-job-1.0-SNAPSHOT-jar-with-dependencies.jar
> \ com.cc.flink.test.join_sql_test.TestInnerJoinTable2
> {code}
>
>
> * result
>
>
> !image-2021-08-25-11-16-34-432.png!
> !image-2021-08-25-11-16-39-960.png!!image-2021-08-25-11-16-34-397.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)