You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/04 14:44:25 UTC
[jira] [Commented] (FLINK-3644) WebRuntimMonitor set java.io.tmpdir
does not work for change upload dir.
[ https://issues.apache.org/jira/browse/FLINK-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224042#comment-15224042 ]
ASF GitHub Bot commented on FLINK-3644:
---------------------------------------
Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/flink/pull/1824#discussion_r58369373
--- Diff: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java ---
@@ -100,6 +100,11 @@
public static final String JOB_MANAGER_IPC_PORT_KEY = "jobmanager.rpc.port";
/**
+ * The config parameter defining the flink web directory to be used by the webmonitor.
+ */
+ public static final String WEB_MONITOR_DIRECTORY_KEY = "web.monitor.tmpdir";
--- End diff --
This config key should follow the naming scheme of the other web monitor config keys (see `public static final String JOB_MANAGER_WEB_PORT_KEY = "jobmanager.web.port";`), for example `jobmanager.web.tmpdir`.
> WebRuntimMonitor set java.io.tmpdir does not work for change upload dir.
> ------------------------------------------------------------------------
>
> Key: FLINK-3644
> URL: https://issues.apache.org/jira/browse/FLINK-3644
> Project: Flink
> Issue Type: Bug
> Components: Webfrontend
> Affects Versions: 1.0.0
> Environment: flink-conf.yaml -> java.io.tmpdir: .
> java -server -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:+UseCompressedOops -XX:+UseFastEmptyMethods -XX:+UseFastAccessorMethods -XX:+AlwaysPreTouch -Xmx1707m -Dlog4j.configuration=file:log4j-mesos.properties -Djava.io.tmpdir=. -cp flink-dist_2.10-1.0.0.jar:log4j-1.2.17.jar:slf4j-log4j12-1.7.7.jar:flink-python_2.10-1.0.0.jar
> java version "1.8.0_60"
> Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
> Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
> CentOS release 6.4 (Final)
> Reporter: astralidea
>
> flink-conf.yaml & -Djava.io.tmpdir=. does not work for me.
> I don't know why.I look for the code System.getProperty("java.io.tmpdir") should work.but it is not worked.
> but in web ui in job manager configuration could see the java.io.tmpdir is set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)