flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject flink git commit: [FLINK-6317] Fix wrong default directory for history server
Date Tue, 18 Apr 2017 10:07:54 GMT
Repository: flink
Updated Branches:
  refs/heads/master 9be5cc42c -> 82a258bf6


[FLINK-6317] Fix wrong default directory for history server

This closes #3731.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/82a258bf
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/82a258bf
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/82a258bf

Branch: refs/heads/master
Commit: 82a258bf63260a723a76fc4bb42ecac50a66ff99
Parents: 9be5cc4
Author: Lorenz Buehmann <buehmann@informatik.uni-leipzig.de>
Authored: Tue Apr 18 09:28:18 2017 +0200
Committer: zentol <chesnay@apache.org>
Committed: Tue Apr 18 12:06:21 2017 +0200

----------------------------------------------------------------------
 .../org/apache/flink/runtime/webmonitor/history/HistoryServer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/82a258bf/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java
----------------------------------------------------------------------
diff --git a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java
b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java
index f05bd02..4163581 100644
--- a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java
+++ b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java
@@ -138,7 +138,7 @@ public class HistoryServer {
 
 		String webDirectory = config.getString(HistoryServerOptions.HISTORY_SERVER_WEB_DIR);
 		if (webDirectory == null) {
-			webDirectory = System.getProperty("java.io.tmpdir") + "flink-web-history-" + UUID.randomUUID();
+			webDirectory = System.getProperty("java.io.tmpdir") + File.separator + "flink-web-history-"
+ UUID.randomUUID();
 		}
 		webDir = new File(webDirectory);
 


Mime
View raw message