You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2014/11/25 19:52:12 UTC

[jira] [Updated] (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.

     [ https://issues.apache.org/jira/browse/REEF-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Weimer updated REEF-49:
------------------------------
    Description: 
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 [REEF-48].  

Once issue [REEF-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. 


  was:
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. 



> 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
>            Assignee: 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 [REEF-48].  
> Once issue [REEF-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)