Uploaded jar disappears when web monitor restarts

Posted by Emanuele Cesena on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Uploaded-jar-disappears-when-web-monitor-restarts-tp7449.html

Hi,

When the web monitor restarts the uploaded jars disappear — in fact, every time it restarts the upload directory is different.

This seems intentional:
https://github.com/apache/flink/blob/master/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/WebRuntimeMonitor.java#L162

Could anyone confirm?

Wouldn’t it be useful to have a config param to be able to set it permanently (and thus avoiding jars to be deleted)? Or, what is the intended way to “add jars to my cluster”?

Thank you,
E.