【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即可。

 

posted @ 2022-04-07 13:20  梦醒江南·Infinite  阅读(480)  评论(1编辑  收藏  举报