Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Mysql log file growth

Highlighted

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
Don't have an account?
Coming from Hortonworks? Activate your account here