Support Questions
Find answers, ask questions, and share your expertise

create policies path HDFS

create policies path HDFS

Explorer

I'm looking how to create a `tags` in `Aapche Ranger` for a `HDFS Path`: The `HDFS path` have this schema:

/data/many_pays/layer1/many_Environment
/data/many_pays/layer2/many_Environment
/data/many_pays/layer3/many_Environment
/data/many_pays/layer4/many_Environment

I know that does not exist an Atlas Hook for HDFS, I should create an entity then I create a tag.

My question is: Can I create an entity in `Apache Atlas`, then a tag in Apache Ranger like this:

/data/*/layer1/* 
/data/*/layer2/*
/data/*/layer3/* 
/data/*/layer4/* 

Then for the policies: User1 have access for example:

/data/*/layer1/* ==> rwx 
/data/*/layer2/* ==> r 
/data/*/layer3/* ==> r 

User2 have access on:

/data/*/layer3/* ==> r 
/data/*/layer4/* ==> r