Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Application logs are produced by the application component instances (e.g. HBASE_MASTER for HBASE on YARN). A component is free to store logs anywhere. Component instances are activated as the YARN user (e.g. yarn). Therefore, you need to ensure that the component instances have write permission. The best practice is to log at within ${AGENT_LOG_ROOT}. This symbolic name resolves to the container specific log folder  - <yarn.nodemanager.log-dirs>/application_id/container_id. The default packages available for Slider are by default configured to log at ${AGENT_LOG_ROOT}/app/log

Why you may look into Application Logs:

...

Agent command logs are the logs produced by an agent when commands are executed. Currently, the agent execute INSTALL, CONFIGURE, and START. These logs are available at <yarn.nodemanager.log-dirs>/application_id/container_id /app/command-log folder. You will see three types of files here:

...

Agent log is the log produced by the agent itself. This log is available at <yarn.nodemanager.log-dirs>/application_id/container_id/infra/log/slider-agent.log

Why you may look into Agent Logs:

...