Support Questions

Find answers, ask questions, and share your expertise

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

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.