【问题标题】:Tag based policies in Apache Ranger not workingApache Ranger 中基于标签的策略不起作用
【发布时间】:2021-10-13 21:56:44
【问题描述】:

我是 Apache RangerBigData 字段的新手。我正在研究本地大数据管道。我已经使用 ranger hive 插件 (Hive ver 2.3.8)Apache Ranger (ver 2.2.0) 中配置了基于资源的策略,它们似乎工作正常。但是我在使用基于标签的策略时遇到了问题,希望有人告诉我哪里出错了。我通过执行以下操作在 Ranger 中配置了基于标签的策略 -

    1. Create a tag in Apache Atlas (eg. TAG_C1) on a hive column (column C1) (for this first
 install Apache Atlas, Atlas Hook for Hive, then create tag in Atlas). 
This seems to be working fine. 
    2. Install Atlas plugin in Apache Ranger.
    3. Install RangerTagSync (but did not install Kafka).
    4. Atlas Tag (TAG_C1) is being seen in Apache Ranger when I create Tag based masking policy in ranger.
    5. But masking is not visible in hive which I access via beeline.
    Is Kafka important for Tag based policies in Apache Ranger? What am I doing wrong in these steps?

【问题讨论】:

    标签: hive apache-ranger apache-atlas


    【解决方案1】:

    Kafka 对于 tagsync 和 atlas 也很重要。 Kafka 会通知 rangertagsync Apache atlas 中的标签分配/更改。

    【讨论】:

      猜你喜欢
      • 2021-07-09
      • 2019-12-16
      • 1970-01-01
      • 2023-01-03
      • 2020-09-05
      • 1970-01-01
      • 2021-06-30
      • 2023-02-16
      • 2021-08-22
      相关资源
      最近更新 更多