[英]Apache ranger hive plugin for HDP cluster is not working
I have a cluster HDP 3.1.5 and I have to apply ranger policies on hive but after successfully enabling hive plugin, its not getting registered in ranger --> audit --> plugin status.我有一个集群 HDP 3.1.5,我必须在 hive 上应用 ranger 策略,但是在成功启用 hive 插件后,它没有在 ranger --> audit --> 插件状态中注册。 And all resources(database, tables) in hive became inaccessible for all users.
并且所有用户都无法访问 hive 中的所有资源(数据库、表)。 No default policy is created after enabling hive plugin.
启用 hive 插件后不会创建默认策略。
In the service screen shot, there is no Hive service.在服务屏幕截图中,没有 Hive 服务。 As far as I know, before enabling the plugin, you need to create a service (repository) first.
据我所知,在启用插件之前,您需要先创建一个服务(存储库)。
Please follow the below steps:请按照以下步骤操作:
+
sign for Hive.+
号。Service Name
, Username
, Password
, Jdbc.driverClassName
, Jdbc.url
(HS2 connection url). Service Name
、 Username
名、 Password
、 Jdbc.driverClassName
、 Jdbc.url
(HS2 连接 url)。install.properties
file for hive-plugin (service name, Hive home dir etc).install.properties
文件(服务名称、Hive 主目录等)。sudo ./enable-hive-plugin.sh
.sudo ./enable-hive-plugin.sh
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.