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

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

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

    https://github.com/apache/flink/pull/1338#discussion_r45090990
  
    --- 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 --
    
    No. In case user wants them persisted, they should specify a directory 
themselves. Otherwise, as long as the OS isn't rebooted, the jars will stay 
there.
    
    Also, perhaps a better idea will be to not have a default directory, and 
determine it while initializing the Web Monitor. That way, we can get the 
directory on the job manager machine, instead of the machine where the jar was 
built.


> 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