Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
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.