ChengWei Ye created FLINK-13710:
-----------------------------------
Summary: JarListHandler always extract the jar package
Key: FLINK-13710
URL: https://issues.apache.org/jira/browse/FLINK-13710
Project: Flink
Issue Type: Bug
Affects Versions: 1.8.1
Reporter: ChengWei Ye
{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)