我是Apache Ranger
和BigData
领域的新手。我正在研究一个内部部署的大数据管道。我已经使用护林员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?
Kafka对于标签同步和atlas也很重要。Kafka会通知rangertagsync apache atlas中的标签分配/更改。