Github user JTaky commented on a diff in the pull request: https://github.com/apache/flink/pull/6284#discussion_r202756519 --- Diff: flink-core/src/main/java/org/apache/flink/configuration/CoreOptions.java --- @@ -181,12 +181,17 @@ * The config parameter defining the directories for temporary files, separated by * ",", "|", or the system's {@link java.io.File#pathSeparator}. */ - @Documentation.OverrideDefault("System.getProperty(\"java.io.tmpdir\")") + @Documentation.OverrideDefault("'LOCAL_DIRS' on Yarn and '_FLINK_TMP_DIR' on Mesos.") public static final ConfigOption<String> TMP_DIRS = key("io.tmp.dirs") .defaultValue(System.getProperty("java.io.tmpdir")) .withDeprecatedKeys("taskmanager.tmp.dirs"); + /** + * String key, which says if variable `java.io.tmpdir` has been overridden for the cluster. + */ + public static final String TMP_DIRS_OVERRIDDEN = "io.tmp.dirs.overridden"; --- End diff -- done
---