【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 @   梦醒江南·Infinite  阅读(572)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 字符编码:从基础到乱码解决
历史上的今天:
2020-04-07 VS2015很卡一个可能的原因
2019-04-07 HBase2.0.5 WordCount
点击右上角即可分享
微信分享提示