Hive配置更改

修改log4j.propertis 指定日志打印位置
hive.log.dir=/export/logs/hive/
hive.log.file=hive.log


hive.cli.print.header true
hive.cli.print.current.db true
hive.metastore.warehouse.dir /user/hive/warehouse
hive.exec.parallel true
hive.querylog.location /export/logs/hive
hive.metastore.ds.retry.attempts 3
hive.zookeeper.quorum  hiveserver2的表锁管理器需要依赖zk
hive.exec.mode.local.auto true



  hive.server2.session.hook
  com.weibo.hamza.core.hook.HamzaSessionHook




  hive.semantic.analyzer.hook
  com.weibo.hamza.core.hook.HamzaAnalyzerHook




  hive.exec.post.hooks
  com.weibo.hamza.core.hook.HamzaExecPostHook



hdfs /tmp/hive-${user.name}
local /tmp/${user.name}

你可能感兴趣的:(hive)