Running Ambari 2.4.2 and HDP 22.214.171.124
It looks like my cluster is defined to use mysql for the hive metastore.
The log file is being written to /var/run/mysqld and is 239GB and growing and is close to filling up the /var file system
Can I delete or rotate out the log and do I need to shutdown hive to do this?
Is there a way to reduce the level of logging or to automatically rotate this log?
"Log Rotate" utility is one of the best utility to rotate desired logs.https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s2-lo...https://administratosphere.wordpress.com/2011/12/02/log-rotation-for-mysql/
From MySQL side: https://dev.mysql.com/doc/refman/5.7/en/log-file-maintenance.html