hive中设置jobname

匿名 (未验证) 提交于 2019-12-02 23:51:01

hive中设置jobname

hive> set mapred.job.name=test;

两种情况,

1,成功,end

2,失败报错,cannot modify mapred.job.name at runtime,it is not in list of params that are allowed to be modified at runtime

hive.security.authorization.sqlstd.confwhitelist;


<property>
<name>hive.security.authorization.sqlstd.confwhitelist.append</name>
<value>map .job.name</value>
</property>

配置完成后重启hive的所有组件

参考博客https://blog.csdn.net/CPP_MAYIBO/article/details/88085414

https://blog.51cto.com/xiaolanlan/2374064?source=dra

以及QQ群534749847群主

文章来源: https://blog.csdn.net/pollydejia/article/details/97014630
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!