Support Questions
Find answers, ask questions, and share your expertise

Mysql log file growth

Contributor

Running Ambari 2.4.2 and HDP 2.5.3.0

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?

1 REPLY 1