Hive修改引擎為Spark無法修改參數

分類
故障描述

  hdp 3默認采用tez引擎,根據業務需求,需臨時更換為spark引擎。

采用

set hive.execution.engine=spark;

set spark.executor.instances=40;

報錯如下

Error while processing statement:Canot modly spark.executor.instances at runtime, t is not in list of params that are alowed to be modifed at runtime

故障分析

  無

處理過程

? ? hive 3開始,默認進行安全授權,防止運行時修改參數。把hive配置中hive.security.authorization.enabled關閉后再行測試即可。

建議/總結

  無

精品国产yw在线观看|97操人人草人人|色无极影院亚洲专区|亚洲成A人在线观看|亚洲vs欧洲精品第一页