You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ChengWei Ye (JIRA)" <ji...@apache.org> on 2019/08/14 10:49:00 UTC

[jira] [Updated] (FLINK-13710) JarListHandler always extract the jar package

     [ https://issues.apache.org/jira/browse/FLINK-13710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ChengWei Ye updated FLINK-13710:
--------------------------------
    Affects Version/s:     (was: 1.8.1)

> JarListHandler always extract the jar package
> ---------------------------------------------
>
>                 Key: FLINK-13710
>                 URL: https://issues.apache.org/jira/browse/FLINK-13710
>             Project: Flink
>          Issue Type: Bug
>            Reporter: ChengWei Ye
>            Priority: Minor
>
>  
> {code:java}
> // JarListHandler class
> // handleRequest method
> for (String clazz : classes) {
>    clazz = clazz.trim();
>    PackagedProgram program = null;
>    try {
>       // here
>       program = new PackagedProgram(f, clazz, new String[0]);
>    } catch (Exception ignored) {
>       // ignore jar files which throw an error upon creating a PackagedProgram
>    }
>    if (program != null) {
>       JarListInfo.JarEntryInfo jarEntryInfo = new JarListInfo.JarEntryInfo(clazz, program.getDescription());
>       jarEntryList.add(jarEntryInfo);
>    }
> }
> {code}
> When I open the submit page of the jm web ([http://localhost:7081/#/submit|http://localhost:8081/#/submit]), the background always decompresses the lib directory in the job jar package until the temp directory is full.
> If the jobmanager just gets the jar information, the submit page should not extract the jar package.
> And I think the same jar only needs to be decompressed once, and should not be decompressed every time it is submitted.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)