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

Chesnay Schepler closed FLINK-13710.
------------------------------------
    Resolution: Won't Fix

Now that we properly clean up the extracted jars (FLINK-21164) it's fine to go 
through the extraction on every access.

> JarListHandler always extract the jar package
> ---------------------------------------------
>
>                 Key: FLINK-13710
>                 URL: https://issues.apache.org/jira/browse/FLINK-13710
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Web Frontend
>            Reporter: ChengWei Ye
>            Priority: Minor
>              Labels: pull-request-available, stale-minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
>  
> {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
(v8.3.4#803005)

Reply via email to