分類
故障描述
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關閉后再行測試即可。
建議/總結
無