我对
Apache Ranger
和 BigData
领域总体来说是新手。我正在研究本地大数据管道。我已经使用 Ranger hive 插件 Apache Ranger (ver 2.2.0)
在 (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?
Kafka 对于 tagsync 和 atlas 也很重要。 Kafka 会通知 rangertagsync 有关 apache atlas 中的标签分配/更改的信息。
老问题,但如果有人偶然发现这个问题,这里有一些要点。
希望这有帮助