Category Archives: audit

Scope of Apache Ranger policies for applications

I'm trying to make some tests with Apache Ranger related to the Hive plug-in. I set a policy to restrict the select statement made by a user on some columns of an external table.

This policy works well if I made the query from Hive on Ambari but if I try to make a query from the Hive command line (with the same user) it seems not work. Do the Ranger policies for applications work only with the users defined in Ambari and not with the user defined on Linux file system like the HDFS Ranger policies?

Thanks, Luca