使用Cloudera Manager添加Sentry服务

                                      作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

 

一.通过CM添加Sentry服务

1>.点击添加服务进入CM服务安装向导

使用Cloudera Manager添加Sentry服务

2>.选择Sentry服务并点击继续

使用Cloudera Manager添加Sentry服务

3>.选择依赖关系

使用Cloudera Manager添加Sentry服务

4>.自定义Sentry角色分配

使用Cloudera Manager添加Sentry服务

5>.进行数据库设置

使用Cloudera Manager添加Sentry服务

6>.等待Sentry服务启动成功

使用Cloudera Manager添加Sentry服务

7>.Sentry安装成功

使用Cloudera Manager添加Sentry服务

 

二.修改Hive默认配置

1>.点击Hive服务

使用Cloudera Manager添加Sentry服务

2>.搜索关键字"Sentry 服务"

使用Cloudera Manager添加Sentry服务

3>.搜索关键词"启用数据库中的存储通知"(英文"NOTIFICATION")

使用Cloudera Manager添加Sentry服务

4>.如上图所示,出现了错误配置提示,我们搜索关键词"Impersonation",取消勾选

使用Cloudera Manager添加Sentry服务

5>.搜索关键字"hadoop proxyuser "

使用Cloudera Manager添加Sentry服务

 

.修改Hue默认配置

1>.点击Hue服务

使用Cloudera Manager添加Sentry服务

2>.搜索关键字"Sentry"

使用Cloudera Manager添加Sentry服务

 

四.修改HDFS默认配置

1>.点击HDFS服务

使用Cloudera Manager添加Sentry服务

2>.搜索关键词"ACL",启用访问控制列表和Sentry同步

使用Cloudera Manager添加Sentry服务

 

四.确认YARN配置

1>.点击YARN的配置

使用Cloudera Manager添加Sentry服务

2>.搜索关键词"allowed.system.users"

使用Cloudera Manager添加Sentry服务

 

 

五.确认Sentry配置

1>.点击Sentry的配置项

使用Cloudera Manager添加Sentry服务

2>.搜索关键词"sentry.service.admin.group"

使用Cloudera Manager添加Sentry服务

 

六.使配置生效

1>.CM界面存在过期配置

使用Cloudera Manager添加Sentry服务

2>.点击"部署客户端配置"

使用Cloudera Manager添加Sentry服务

3>.确认部署客户端配置

使用Cloudera Manager添加Sentry服务

4>.等待配置下发完成

使用Cloudera Manager添加Sentry服务

5>.客户端配置下发完成

使用Cloudera Manager添加Sentry服务

6>.如上图所示,有多个服务都需要重庆,我们可以一个一个去重启,也可以直接重启整个集群

使用Cloudera Manager添加Sentry服务

 

7>.点击"重启"

使用Cloudera Manager添加Sentry服务

8>.集群重启完毕

使用Cloudera Manager添加Sentry服务

9>.可以正常使用集群啦

使用Cloudera Manager添加Sentry服务

 

相关文章:

  • 2021-04-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-06-15
  • 2021-06-01
  • 2021-11-13
猜你喜欢
  • 2021-08-20
  • 2021-11-24
  • 2021-10-12
  • 2021-09-28
  • 2021-10-27
  • 2021-10-10
  • 2021-05-27
相关资源
相似解决方案