Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ranger kms and hdfs encryption


Ranger kms and hdfs encryption

New Contributor

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 ?


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.

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?
Coming from Hortonworks? Activate your account here