[ 
https://issues.apache.org/jira/browse/RANGER-5096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fatih updated RANGER-5096:
--------------------------
    Description: 
I plan to use Ranger to manage Hive Metastore policies. However, I couldn't 
find any up-to-date documentation on this topic. Following the instructions in 
[this link|https://stackoverflow.com/a/77545150/3648566], I removed the comment 
line related to the Hive Metastore and rebuilt the project. To be honest, I 
couldn't figure out why Hive Metastore was commented out. Ranger successfully 
recognized the Hive Metastore plugin.  However, it is not functioning as 
expected. For instance, unauthorized access is possible, and audit logs are not 
being listed. I couldn't find the correct {{hive-site.xml}} configuration 
anywhere. When I apply the settings from the Ranger Wiki, I get a "{_}class not 
found{_}" error. On the other hand, the solutions I found on Google results in 
different errors in the Metastore.

I encountered different errors during various attempts. If it would be helpful, 
I can recreate and share those errors as well. I look forward to your 
assistance. Thank you.

Links:
[https://cwiki.apache.org/confluence/display/RANGER/Ranger+Plugin+for+Hive+MetaStore]

[https://docs.ezmeral.hpe.com/datafabric-customer-managed/79/Ranger/Integrate_HiveMetastore_with_Ranger.html]

[https://stackoverflow.com/a/77545150/3648566]

 

  was:
I plan to use Ranger to manage Hive Metastore policies. However, I couldn't 
find any up-to-date documentation on this topic. Following the instructions in 
[this link|https://stackoverflow.com/a/77545150/3648566], I removed[ the 
comment line 
|https://github.com/apache/ranger/blob/080431f39807748890843d20cc63c612a2d1ca11/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java#L149]related
 to the Hive Metastore and rebuilt the project. To be honest, I couldn't figure 
out why Hive Metastore was commented out. Ranger successfully recognized the 
Hive Metastore plugin.  However, it is not functioning as expected. For 
instance, unauthorized access is possible, and audit logs are not being listed. 
I couldn't find the correct {{hive-site.xml}} configuration anywhere. When I 
apply the settings from the Ranger Wiki, I get a "{_}class not found{_}" error. 
On the other hand, the solutions I found on Google results in different errors 
in the Metastore.

I encountered different errors during various attempts. If it would be helpful, 
I can recreate and share those errors as well. I look forward to your 
assistance. Thank you.

Links:
[https://cwiki.apache.org/confluence/display/RANGER/Ranger+Plugin+for+Hive+MetaStore]

[https://docs.ezmeral.hpe.com/datafabric-customer-managed/79/Ranger/Integrate_HiveMetastore_with_Ranger.html]

[https://stackoverflow.com/questions/77535042/hive-metastore-standalone-and-apache-ranger-integration/77545150#77545150]

 


> Challenges in Configuring Hive Metastore with Ranger
> ----------------------------------------------------
>
>                 Key: RANGER-5096
>                 URL: https://issues.apache.org/jira/browse/RANGER-5096
>             Project: Ranger
>          Issue Type: Wish
>          Components: plugins
>    Affects Versions: 3.0.0
>         Environment: Hive 4.0.1
> Ranger 3.0.0
>            Reporter: Fatih
>            Priority: Minor
>              Labels: docuentation
>         Attachments: hive_log_head2000.log, screenshot-1.png, 
> screenshot-2.png, screenshot-3.png
>
>
> I plan to use Ranger to manage Hive Metastore policies. However, I couldn't 
> find any up-to-date documentation on this topic. Following the instructions 
> in [this link|https://stackoverflow.com/a/77545150/3648566], I removed the 
> comment line related to the Hive Metastore and rebuilt the project. To be 
> honest, I couldn't figure out why Hive Metastore was commented out. Ranger 
> successfully recognized the Hive Metastore plugin.  However, it is not 
> functioning as expected. For instance, unauthorized access is possible, and 
> audit logs are not being listed. I couldn't find the correct 
> {{hive-site.xml}} configuration anywhere. When I apply the settings from the 
> Ranger Wiki, I get a "{_}class not found{_}" error. On the other hand, the 
> solutions I found on Google results in different errors in the Metastore.
> I encountered different errors during various attempts. If it would be 
> helpful, I can recreate and share those errors as well. I look forward to 
> your assistance. Thank you.
> Links:
> [https://cwiki.apache.org/confluence/display/RANGER/Ranger+Plugin+for+Hive+MetaStore]
> [https://docs.ezmeral.hpe.com/datafabric-customer-managed/79/Ranger/Integrate_HiveMetastore_with_Ranger.html]
> [https://stackoverflow.com/a/77545150/3648566]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to