[ 
https://issues.apache.org/jira/browse/FLINK-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009215#comment-15009215
 ] 

ASF GitHub Bot commented on FLINK-2978:
---------------------------------------

Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1338#discussion_r45100162
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java ---
    @@ -635,8 +644,18 @@
         * The default number of archived jobs for the jobmanager
         */
        public static final int DEFAULT_JOB_MANAGER_WEB_ARCHIVE_COUNT = 5;
    -   
    -   
    +
    +   /**
    +    * By default, submitting jobs from the web-frontend is allowed.
    +    */
    +   public static final boolean DEFAULT_JOB_MANAGER_WEB_SUBMISSION = true;
    +
    +   /**
    +    * Default directory for uploaded file storage for the Web frontend.
    +    */
    +   public static final String DEFAULT_JOB_MANAGER_WEB_UPLOAD_DIR =
    +                   (System.getProperty("java.io.tmpdir") == null ? "/tmp" 
: System.getProperty("java.io.tmpdir")) + "/webmonitor/";
    --- End diff --
    
    How about handling the temp directory similar to the IOManager and 
BlobManager: We create directory in the temporary directory (with a random 
name) and use a shutdown hook to remove the directory on shutdown again.
    
    I don't like keeping the jar files because it will pollute the directory on 
the server.
    Also the current approach does not allow running multiple JobManagers at 
the same machine (something that can easily happen with YARN).


> Integrate web submission interface into the new dashboard
> ---------------------------------------------------------
>
>                 Key: FLINK-2978
>                 URL: https://issues.apache.org/jira/browse/FLINK-2978
>             Project: Flink
>          Issue Type: New Feature
>          Components: Web Client, Webfrontend
>            Reporter: Sachin Goel
>            Assignee: Sachin Goel
>
> As discussed in 
> http://mail-archives.apache.org/mod_mbox/flink-dev/201511.mbox/%3CCAL3J2zQg6UBKNDnm=8tshpz6r4p2jvx7nrlom7caajrb9s6...@mail.gmail.com%3E,
>  we should integrate job submission from the web into the dashboard.



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

Reply via email to