The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Ambari Forum


  • #49342
    Pavel Hladik


    not sure if pasting to right section of forum. I would like to change value of hdfs.audit.logger=INFO,console in to hdfs.audit.logger=WARNING,console. If I do change manually on all master and slave nodes, in next services start all are overwritten and my setting is lost.

    Please give me advice where to change it? Thanks you.

  • Author
  • #50174
    Kenny Zhang

    Hi Pavel,

    Could you please let us know what’s the version of Ambari you are using?


    Pavel Hladik

    Hi Kenny,

    I found out that WARNING is not right property, I’m using istead WARN, but it doesn’t help as well. I went through all config files and I see there is INFO logging hardcoded to env files etc. I’m using latest Ambari



    Kenny Zhang

    Hi Pavel,

    If you’re using Ambari 1.4.4, it’ll still overwrite the value of during the service restart.
    I sugget you can modify the below file for hdfs.audit.logger directly:

    Please restart HDFS service to apply the change.



    I’m using Ambari 1.6. I modified to WARN hdfs.audit.logger in /var/lib/ambari-agent/puppet/modules/hdp-hadoop/templates/ but the INFO lines still appear. I restarted HDFS as requested. Any other place that should get modified? Thanks.

    Jeff Sposetti

    For Ambari 1.6.0, make the template modification on Ambari Server /var/lib/ambari-server/resources/stacks/HDP/2.0.6/hooks/before-START/templates/

    Make mods to this file only on the Ambari Server and it will get re-distributed to the agents after you do Ambari Server restart. You don’t need to edit files on the agents. And you don’t need to edit any of the puppet files any longer. They are not being used (as of Ambari 1.5.0).

    But also you’ll find is now available from the UI and REST API to modify for each Service. Log into Ambari Web and browse to Services > HDFS > Configs. Scroll down and you’ll see the section. You can modify that file there and it will be distributed with the configs.

The forum ‘Ambari’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.