Hive History 可以打印像 查询语句,查询计划,运行时统计信息等日志到一个文件。默认不开启。
开启方法hive-site.xml
hive.session.history.enabled true Whether to log Hive query, query plan, runtime statistics etc. hive.querylog.location ${PATH-TO-LOG-FILE} Location of Hive run time structured log file"),Default: "${system:java.io.tmpdir}" + File.separator + "${system:user.name}"



