forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-14465] Let StandaloneJobClusterEntryPoint use the user code cl…
…ass loader [FLINK-14465] The PackageProgram's constructor does not throw excpetion any more when jarFile is null. Introducing this change is because there may be no jarFile in perjob mode. All jars the user code depends on are in the classpaths. [FLINK-14465] ClassPathJobGraphRetriever creates PackagesProgram with user class paths. [FLINK-14465] StandaloneJobClusterEntryPoint uses "FLINK_HOME/usrlib" as the job's class path. The environment variable FLINK_HOME is set at Dockerfile. Link the FLINK_JOB_ARTIFACTS_DIR to the FLINK_HOME/job, which makes the FlinkUserClassloader load the user class in the standalone perjob mode. This closes apache#10076.
- Loading branch information
1 parent
1806a37
commit c1e9aef
Showing
31 changed files
with
813 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
255 changes: 105 additions & 150 deletions
255
flink-clients/src/main/java/org/apache/flink/client/program/PackagedProgram.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.