hive切换运行模式

set hive.execution.engine=spark; (或者mr)
set spark.master=yarn;
set spark.executor.cores=1;
set spark.driver.memory=1G;
set spark.executor.memory=2G;
set spark.dynamicAllocation.maxExecutors = 10


发表评论