Hive Metastore logging is almost nonexistent


I've observed this with Hive 1.1, but this is probably not affecting only that version.

Basically, the only log line I ever see printed in hive logs is:

The log level for hive metastore needs to be changed so that it logs either at the INFO level or DEBUG level.

Release Notes



Chris Gianelloni
December 7, 2016, 8:28 PM

This was merged and released in 2.8.0

Chris Gianelloni
December 5, 2016, 5:24 PM
Ali Anwar
November 21, 2016, 11:00 PM

That didn't work out for me.

I believe we just need to support and set up the defaults.
For instance, I copied the file from /etc/hive/conf.dist to /etc/hive/conf, and was able to change the root log level to INFO (from WARN), and I then saw logging in /tmp/hive.

Chris Gianelloni
November 21, 2016, 10:20 PM

The default log level for Hive is INFO. This is due to our custom init scripts. It seems that Hive outputs most of its daemon output to STDERR. You can verify this by restarting Hive Metastore via init script from a root shell on the box in question. If you see output that should be going to a log, coming to the screen, we're not capturing it, correctly.

Your pinned fields
Click on the next to a field label to start pinning.


Chris Gianelloni


Ali Anwar