[
https://issues.apache.org/jira/browse/YARN-10027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Antal updated YARN-10027:
------------------------------
Description:
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.
was:
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.
> 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
> Assignee: Adam Antal
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]