Created 01-08-2019 07:14 PM
Dear Users,
I am a newbie to hadoop ecosystem.
I am restarting a active name node via ambari UI and due it, the name node's config found under /etc/hadoop/conf/log4j.properties is getting over-written with the configs from Ambari UI-> HDFS-> Configs -> Advanced-> Advanced hdfs-log4j-> hdfs-log4j.properties.
Is there a way to preserve the config under /etc/hadoop/conf/log4j.properties irrespective of the restart of the active name node from the ambari UI ?
Please advice ?
Created 01-09-2019 05:15 AM
If the cluster is managed by Ambari, it should be managed via ambari only else it will override out manual changes made to the log4j.propeties file which is done on the backend during component restart "etc/hadoop/conf/log4j.properties". Hence if you want to made any changes in the log4j.properties, You can change the logging config from ambari UI.