2. Reviewing Ambari Log Files

Find files that log activity on an Ambari host in the following locations:

  • Ambari Server logs on the Ambari Server host:

    /var/log/ambari-server/ambari-server.log

  • Ambari Agent logs on any host with an Ambari Agent:

    /var/log/ambari-agent/ambari-agent.log

  • Ambari Agent task logs on any host with an Ambari Agent:

    /var/lib/ambari-agent/data/

    This location contains logs for all tasks executed on an Ambari Agent host. Each log name includes:

    • command-N.json - the command file corresponding to a specific task.

    • output-N.txt - the output from the command execution.

    • errors-N.txt - error messages.


loading table of contents...