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

With Ranger Masking, does it only mask for HiveServer2 or Hive CLI as well?

Solved Go to solution

With Ranger Masking, does it only mask for HiveServer2 or Hive CLI as well?

I am testing out Ranger column masking and it is successfully masking for HiveServer2 but not in the hive CLI. Is this the expected result or could I have something set up incorrectly?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: With Ranger Masking, does it only mask for HiveServer2 or Hive CLI as well?

Hi @Chad Woodhedad,

This is expected. Hive rules in Ranger will apply only during access through HiveServer2 (JDBC). When accessing Hive with Hive CLI, only the HDFS rules in Ranger will apply (no masking then).

View solution in original post

1 REPLY 1
Highlighted

Re: With Ranger Masking, does it only mask for HiveServer2 or Hive CLI as well?

Hi @Chad Woodhedad,

This is expected. Hive rules in Ranger will apply only during access through HiveServer2 (JDBC). When accessing Hive with Hive CLI, only the HDFS rules in Ranger will apply (no masking then).

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here