Running Ambari 2.4.2 and HDP 18.104.22.168
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.
From MySQL side: https://dev.mysql.com/doc/refman/5.7/en/log-file-maintenance.html