You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/11/18 07:38:00 UTC
[jira] [Closed] (FLINK-30045) FromClasspathEntryClassInformationProvider too eager to verify MainClass
[ https://issues.apache.org/jira/browse/FLINK-30045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-30045.
------------------------------------
Fix Version/s: (was: 1.16.1)
Resolution: Fixed
master: 380d8c22d17135fc4164e62d78c769bb69e5aa8a
> FromClasspathEntryClassInformationProvider too eager to verify MainClass
> ------------------------------------------------------------------------
>
> Key: FLINK-30045
> URL: https://issues.apache.org/jira/browse/FLINK-30045
> Project: Flink
> Issue Type: Technical Debt
> Components: Client / Job Submission
> Affects Versions: 1.16.0, 1.17.0
> Reporter: Nico Kruber
> Assignee: Nico Kruber
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.17.0
>
>
> {{FromClasspathEntryClassInformationProvider}} is attempting to verify (eagerly) whether the given MainClass is on the user classpath. However, it doesn't handle cases where the main class is inside a nested jar.
> We actually don't need this check at all since {{PackagedProgram}} is already doing it while attempting to load the main class. Having this once should be enough.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)