3)Hive Logging information:
These can be done from the command line as follows:
$HIVE_HOME/bin/hive --hiveconf hive.root.logger=INFO,console
Log Directory:
Property hive.log.dir= <Directy_path>
Logging options:
Property hive.root.logger=INFO,console
- Hive uses log4j for logging. These logs are not emitted to the standard output by default but are
- instead captured to a log file specified by Hive's log4j properties file.
- By default Hive will use hive-log4j.default in the conf/ directory of the Hive installation which writes out logs to /tmp/<userid>/hive.log and uses the WARN level.
- It is often desirable to emit the logs to the standard output and/or change the logging level for debugging purposes.
These can be done from the command line as follows:
$HIVE_HOME/bin/hive --hiveconf hive.root.logger=INFO,console
Log Directory:
Property hive.log.dir= <Directy_path>
Logging options:
Property hive.root.logger=INFO,console
No comments:
Post a Comment