Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-18-2016 06:35 AM
Hi Team,
we see logs of various hadoop services are stored in /var/log
can we change it to our customized location
if i dont want to store logs in below location then
/var/log/ambari-agent/ /var/log/ambari-metrics-monitor/ /var/log/ambari-server/ /var/log/hbase /var/log/zookeeper
i see in ambari changing log location is disabled ?
Created 08-18-2016 06:35 AM
This is easier done at install time. After installation, your best bet is to create symbolic links. Please see the following thread.
Created 08-18-2016 06:35 AM
This is easier done at install time. After installation, your best bet is to create symbolic links. Please see the following thread.
Created 08-18-2016 07:30 PM
You need to stop Ambari services to allow changes to configurations like log location. During that time, your cluster could still run, but you will have a gap in Ambari logs and metrics.
Created 08-19-2016 06:12 AM
For service logs , log directory is controlled by a configuration property. You can modify the configuration property .
Look at https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations for more details.
You will have to restart the service for the changes to take effect.
Created 09-15-2016 06:36 PM
I want to be sure I understand your post. Are you saying that modifying a single Ambari property will relocate logs for all components on a restart? If so, can share what the name of that property is? The page you linked to does not have a single mention of log location.
In a perfect world, I would have left plenty of room under /var for logging, but we have a heavily used cluster with a lot of data and constant crashes from full /var on many of the machines. I need to move everything to a new location.