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

2021-04-14 Thread Flink Jira Bot (Jira)


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

Flink Jira Bot updated FLINK-13710:
---
Labels: pull-request-available stale-minor  (was: pull-request-available)

> 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)


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

2019-10-02 Thread Robert Metzger (Jira)


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

Robert Metzger updated FLINK-13710:
---
Component/s: Runtime / Web Frontend

> 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
>  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)


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

2019-08-14 Thread ASF GitHub Bot (JIRA)


 [ 
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)


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

2019-08-14 Thread ChengWei Ye (JIRA)


 [ 
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)