How to mute apache zookeeper debug messages (AWS EMR)?

Question:

How to mute DEBUG messages on AWS Elastic MapReduce Master node?

Answer:

I don’t know if there is some option in Web UI to change log verbosity.
But there must be a Zookeeper (which is using Log4j) configuration folder ${ZOOKEEPER_HOME}/conf where you can edit file logj4.properties and specify:


But I think that those changes must be done not directly in Zookeeper, but in HBase log configuration –${HBASE_HOME}/conf (HBase also use Log4j), because HBase can manage Zookeeper.
There are few parameters that can be edited there:

To find this file you can try next command:

Leave a Reply