flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hasenburg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1052) Access to stdout and log information of Taskmanagers from the web interface
Date Wed, 10 Sep 2014 09:08:28 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128238#comment-14128238
] 

Jonathan Hasenburg commented on FLINK-1052:
-------------------------------------------

Ok, it should now be easy to add the real log files... . Changes must be made at two locations:

{code:title=taskmanager.js}
function addLogFileBox(identifier) {
	//TODO change the identifier to the real identifier after logs are available and their name
is known
	//create id for taskmanagers
	var idLog = "log-"+identifier;
	var idStdout = "stdout-"+identifier;
        ...
}
{code}

{code:title=LogfileInfoServlet.java}
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
IOException {
                ...
		//TODO change to real log file after they got available
		if (s[0].equals("log")) {
			sendFile("jobmanager-log4j.log", resp);
		} else if (s[0].equals("stdout")) {
			sendFile("jobmanager-stdout.log", resp);
		}
                ...
        }
{code}


> Access to stdout and log information of Taskmanagers from the web interface
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-1052
>                 URL: https://issues.apache.org/jira/browse/FLINK-1052
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Till Rohrmann
>            Priority: Minor
>
> It would be convenient to have access to the stdout and log files of the individual taskmanagers
from the web interface. This is especially useful in the case of a yarn setup where the different
logs are hidden behind application and container IDs. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message