天天看点

常用指令汇总

1.如果hive出现问题,hive客户端调试课使用

hive --hiveconf hive.root.logger=console

2.CDH6.2.0 安装的hive是支持spark引擎的,由于yarn使用了资源池限制,使用spark引擎,需要执行两步

set mapred.job.queue.name=root.zm_yarn_pool.production;

set hive.execution.engine=spark;

继续阅读