0

我是新手,一般来说Apache Ranger都是这个BigData领域。我正在研究本地大数据管道。我在Apache Ranger (ver 2.2.0)使用 ranger hive 插件时配置了基于资源的策略(Hive ver 2.3.8),它们似乎工作正常。但是我在使用基于标签的策略时遇到了问题,希望有人告诉我哪里出错了。我通过执行以下操作在 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?
4

1 回答 1

0

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

于 2021-08-16T09:22:49.460 回答