Failed to open new session: java.lang.IllegalArgumentException: Cannot modify tez.queue.name at runtime. It is not in list of params that are allowed to be modified at runtime (state=08S01,code=0)
或者 出现Cannot modify mapReduce.queue.name at runtime
无法指定 运行队列
hdp3.0.0的hive为3.0.0以上,运行引擎为tez
需要添加参数,让是tez前缀的配置也生效
<property> <name>hive.security.authorization.sqlstd.confwhitelist</name> <value>mapred.*|hive.*|mapreduce.*|spark.*|tez*</value> </property> <property> <name>hive.security.authorization.sqlstd.confwhitelist.append</name> <value>mapred.*|hive.*|mapreduce.*|spark.*|tez*</value> </property>