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

Ranger kms and hdfs encryption

Ranger kms and hdfs encryption

Explorer

I have installed ranger and ranger kms and setup all the configurations and everything is working fine.

I have created encryption zone in hdfs and in the policy i have mentioned two users(user 1 and user 2) to access this encryption zone, they are able to access this encryption zone . I want to set permissions to encryption zone in such a way that user1 should have read and write access and user 2 should have only read access?how can we define this ?

2 REPLIES 2
Highlighted

Re: Ranger kms and hdfs encryption

Super Guru
@khadeer mhmd

You didn't specify how you are reading data. Assuming normal HDFS API reads, use HDFS posix permissions. If you are using Hive, use Ranger. Just treat it like any other directory.

Highlighted

Re: Ranger kms and hdfs encryption

Rising Star

@khadeer mhmd

You can still use the Ranger HDFS Policies to control the access to the datasets.

Don't have an account?