Support Questions

Find answers, ask questions, and share your expertise

Mysql log file growth


Running Ambari 2.4.2 and HDP

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?