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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to