RangerHivePlugin: FileNotFoundException - xasecure-audit.xml

2015-12-15 Thread lukas nalezenec
Hi, When i install Hive Ranger plugin I am getting FileNotFound exception whenever the plugin is activated. I am already using HDFS ranger plugin and it works well although it may use the same code (The plugin also extends RangerBasePlugin). Is it possible that the bug is similar to https://iss

Re: RangerHivePlugin: FileNotFoundException - xasecure-audit.xml

2015-12-15 Thread Gautam Borad
Hi Lukas, If you provide answers to the below question, it would help in debugging more about the core issue. 1. What version of Ambari are you using? 2. Seems like the HDP is 2.3. Is this a fresh installation OR is it an upgrade of HDP from 2.2 -> 2.3 3. Can you paste the output o

Re: RangerHivePlugin: FileNotFoundException - xasecure-audit.xml

2015-12-15 Thread lukas nalezenec
Hi, thank you very much ! We are using Ambari 2.1.0 Our system is updated from 2.1 to 2.3. We haven't used Ranger before (in version 2.1) (We are going to do minor update soon - from 2.3.0 to 2.3.2) Lukas /etc/hive Sep 8 15:41 . Dec 14 15:36 .. Sep 8 15:41 2.3.0.0-2557 Sep 8 15:41 conf -> /us

Re: HBase test cases

2015-12-15 Thread Madhan Neethiraj
Aneela, Do you have policy that allows WRITE access for column=* (or the column the user is trying put – in your example ‘column=age’)? If these are in place, can you provide all the fields of the audit log that show deny? Including username, resource, etc. Thanks, Madhan From: Aneela Saleem

Re: HBase test cases

2015-12-15 Thread Aneela Saleem
Hi, I'm stuck at this point, i need to know why PUT access is not granted even if the user have all permissions i.e., read, write, create, admin Thanks. On Sun, Dec 13, 2015 at 12:59 AM, Aneela Saleem wrote: > Hi Madhan! > > The logs contain > policy-id: --- > Action: PUT > Access: Denied > Po

Re: Queries on the developement for a new custom plugin

2015-12-15 Thread Madhan Neethiraj
Aruna, >> 2nd case --> if a different user "it3" does a "submit-app" on the "default" >> queue, then the audit log shows the result as "denied". However, the policy >> id is blank, is this the right behavior? the isAccessAllowed returns “Denied" Since there was no policy that allowed the access

Re: RangerHivePlugin: FileNotFoundException - xasecure-audit.xml

2015-12-15 Thread Gautam Borad
Hi Lucas, Thanks for the info. However it seems you missed the -l flag in the ls listing. The aim is to see if the file exists in the directory and that it has enough permissions to be opened. Can you please send across that info? Also, starting with HDP 2.3, Ranger reads ranger-{service_name