Apache Ambari Administration
Also available as:
loading table of contents...

Customizing Ambari Agent Log + PID Directories

To modify the Ambari Agent Log and PID locations:


  1. On each host running an Ambari Agent, stop the Ambari Agent:

    ambari-agent stop
  2. Edit the Ambari Agent properties file:

    vi /etc/ambari-agent/conf/ambari-agent.ini
  3. In the [agent] section, modify the piddir and logdir properties:




  4. Save the file.

  5. Create the new directories and be sure to set the directory ownership and permissions to allow the Ambari Agent process access.

  6. Restart the Ambari Agent.

    ambari-agent start