Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
A few changes are needed to make Hive's logging work better.
- The default configuration files have been renamed to have a .template suffix, but at least the log4j configuration files should lose the suffix so they can actually be used as the default configuration.
- The HADOOP_OPTS variable needs to be set for all daemons, not just hive-server (otherwise logs get put in /tmp).
- The HADOOP_OPTS variable should also specify hive.log.file so that the daemons have their own place and don't push junk into the hive.log file.
HIVE-3505will, in the next Hive release, allow us to override the default logging threshold and make security audit messages from the metastore show up in the logs by default.