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
Highlighted

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

New Contributor

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

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).

1 REPLY 1

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).

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