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

ASF GitHub Bot updated FLINK-13710:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>              Labels: pull-request-available
>
>  
> {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)

Reply via email to