ambari-Ranger服务添加-配置

2025-10-18 18:12:44

1、安装Ranger - 添加服务

ambari-Ranger服务添加-配置

2、安装Ranger - 选择服务

ambari-Ranger服务添加-配置

3、安装Ranger - Ranger的要求

ambari-Ranger服务添加-配置

4、Ranger Admin 和 Ranger User Sync(必须安装在同一台机器上)

ambari-Ranger服务添加-配置

5、Ranger Admin配置

ambari-Ranger服务添加-配置

ambari-Ranger服务添加-配置

6、Ranger Audit配置

ambari-Ranger服务添加-配置

7、Hive配置

ambari-Ranger服务添加-配置

1、访问:http://192.168.1.105:6080 admin:admin

ambari-Ranger服务添加-配置

2、新建linux用户

ambari-Ranger服务添加-配置

3、新建Ranger计划

ambari-Ranger服务添加-配置

ambari-Ranger服务添加-配置

4、展示新建计划

ambari-Ranger服务添加-配置

1、beeline -u jdbc:hive2://hdp001:10000 -n wys -p

测试用户是否只拥有所设置权限

ambari-Ranger服务添加-配置

1、问题1:WARN  : The session: org.apache.hadoop.hive.ql.exec.tez.TezSessionState@4c426156 has not been opened

INFO  : Tez session hasn't been created yet. Opening session

ERROR : Failed to execute tez graph.

org.apache.hadoop.security.AccessControlException: Permission denied: user=wys, access=WRITE, inode="/user/wys":hdfs:hdfs:drwxr-xr-x

解决:进入hdfs用户,创建 /user/wys目录,并附权限。

ambari-Ranger服务添加-配置

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢