flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmetz...@apache.org
Subject flink git commit: [FLINK-1397] Fix logfile access from JobManager web interface
Date Wed, 14 Jan 2015 09:37:58 GMT
Repository: flink
Updated Branches:
  refs/heads/master cfa04aa52 -> be0359821


[FLINK-1397] Fix logfile access from JobManager web interface


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

Branch: refs/heads/master
Commit: be0359821ae411f8673f5053f9af010514d41e1e
Parents: cfa04aa
Author: Robert Metzger <metzgerr@web.de>
Authored: Tue Jan 13 21:55:00 2015 +0100
Committer: Robert Metzger <rmetzger@apache.org>
Committed: Wed Jan 14 10:36:13 2015 +0100

----------------------------------------------------------------------
 .../apache/flink/runtime/jobmanager/web/LogfileInfoServlet.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/be035982/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/web/LogfileInfoServlet.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/web/LogfileInfoServlet.java
b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/web/LogfileInfoServlet.java
index 7e64993..05f3ed9 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/web/LogfileInfoServlet.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/web/LogfileInfoServlet.java
@@ -58,11 +58,11 @@ public class LogfileInfoServlet extends HttpServlet {
 		try {
 			if("stdout".equals(req.getParameter("get"))) {
 				// Find current stdout file
-				sendFile(".*-jobmanager-[^\\.]*\\.out", resp);
+				sendFile(".*jobmanager-[^\\.]*\\.out", resp);
 			}
 			else {
 				// Find current logfile
-				sendFile(".*-jobmanager-[^\\.]*\\.log", resp);
+				sendFile(".*jobmanager-[^\\.]*\\.log", resp);
 			}
 		} catch (Throwable t) {
 			resp.setStatus(HttpServletResponse.SC_BAD_REQUEST);


Mime
View raw message