You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Adam Antal (Jira)" <ji...@apache.org> on 2019/12/13 09:20:00 UTC

[jira] [Created] (YARN-10027) Add ability for ATS (log servlet) to read logs of running apps

Adam Antal created YARN-10027:
---------------------------------

             Summary: Add ability for ATS (log servlet) to read logs of running apps
                 Key: YARN-10027
                 URL: https://issues.apache.org/jira/browse/YARN-10027
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Adam Antal


Currently neither version of the AHS is able to read logs of running apps (local logs of NodeManager). YARN log CLI is integrated with NodeManager to extract local logs as well (see YARN-5224 for reference), the same should be done for ATS.

Some context:
The local log files are read by the server in {{NMWebServices#getContainerLogFile}}. This is accessed by the YARN logs CLI through REST using the /containers/{containerid}/logs/{filename} endpoint in {{LogsCLI#getResponeFromNMWebService}}.

If YARN-10026 we can pull the common code pieces out of those services, we can implement this in the common log servlet.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org