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

Zhenzhong Xu updated FLINK-4308:
--------------------------------
    Description: 
I notice sometimes it's preferable to have uploaded jars to be put into a 
configurable directory location instead only have it at runtime. In this case 
we can pre-load the directory with jars in a docker image and allows us to 
leverage the jobmanager restful interface to start/kill jobs.

WebRuntimeMonitor.java

String uploadDirName = "flink-web-upload-" + UUID.randomUUID();
this.uploadDir = new File(getBaseDir(config), uploadDirName);
                        

  was:
I notice sometimes it's preferable to have uploaded jars to be put into a 
configurable directory location instead only have it at runtime. In this case 
we can pre-load the directory with jars and allows us to leverage the 
jobmanager restful interface to start/kill jobs.

WebRuntimeMonitor.java

String uploadDirName = "flink-web-upload-" + UUID.randomUUID();
this.uploadDir = new File(getBaseDir(config), uploadDirName);
                        


> Allow uploaded jar directory to be configurable 
> ------------------------------------------------
>
>                 Key: FLINK-4308
>                 URL: https://issues.apache.org/jira/browse/FLINK-4308
>             Project: Flink
>          Issue Type: Improvement
>          Components: Webfrontend
>            Reporter: Zhenzhong Xu
>            Priority: Minor
>
> I notice sometimes it's preferable to have uploaded jars to be put into a 
> configurable directory location instead only have it at runtime. In this case 
> we can pre-load the directory with jars in a docker image and allows us to 
> leverage the jobmanager restful interface to start/kill jobs.
> WebRuntimeMonitor.java
> String uploadDirName = "flink-web-upload-" + UUID.randomUUID();
> this.uploadDir = new File(getBaseDir(config), uploadDirName);
>                       



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to