You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2014/11/21 04:39:34 UTC
[jira] [Created] (REEF-49) Getting log file location\names from
LogFiles implemented for the environment in HttpServerReefEventHandler and
handle the request gracefully if log files cannot be found.
Julia created REEF-49:
-------------------------
Summary: Getting log file location\names from LogFiles implemented for the environment in HttpServerReefEventHandler and handle the request gracefully if log files cannot be found.
Key: REEF-49
URL: https://issues.apache.org/jira/browse/REEF-49
Project: REEF
Issue Type: Improvement
Reporter: Julia
Currently, http reef handler get stdout and stderr files from current folder. It doesn’t work for Yan environment.
We would like to define an interface like LogFiles which contains two APIs getStderrFile() and getStdoutFile(). For local runtime, we can implement the interface to return the file location plus the file name. For yarn runtime, we need to figure out how to get the file location at run time provide an implementation as well. This is described in issue #48.
Once issue 48 is resolved, http reef handler should get log file names from the implementation class depending on the environment. If it is not available, the handler should return a graceful message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)