【Ambari Hive】设置命令行set白名单

在命令行设置
set hive.ddl.output.format=json;
提示出错:
Error: Error while processing statement: Cannot modify hive.ddl.output.format at runtime. It is not in list of params that are allowed to be modified at runtime (state=42000,code=1)
在Ambari中的解决方法如下


添加一个属性配置:
hive.security.authorization.sqlstd.confwhitelist.append
值设为
hive.*

最后重启hive即可。

浙公网安备 33010602011771号