Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/2579#discussion_r19949770
--- Diff: docs/running-on-yarn.md ---
@@ -181,7 +181,7 @@ In YARN terminology, executors and application masters
run inside "containers".
yarn logs -applicationId <app ID>
-will print out the contents of all log files from all containers from the
given application.
+will print out the contents of all log files from all containers from the
given application. You can also use HDFS Shell or API to get each container's
log from specified directory (by `yarn.nodemanager.remote-app-log-dir` and
`yarn.nodemanager.remote-app-log-dir-suffix`).
--- End diff --
I personally prefer not to include these low level specifics but if others
find it useful though I'm ok with it. I would rather see the wording changes
though. Something more like:
You can also use view the container log files directly in HDFS using the
HDFS shell or API. The directory where they are located can be found by
looking at your YARN configs (`yarn.nodemanager.remote-app-log-dir` and
`yarn.nodemanager.remote-app-log-dir-suffix)`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]