Re: Hbase policy issue

2015-12-06 Thread Don Bosco Durai
Yes, thanks for verifying it. We should have http-core in the plugin folder. Would you be able to do the change and upload the patch for review? One of the commuters can commit the code behalf of you. We might have to update src/main/assembly/hbase-agent.xml. Can you also create a JIRA for

Re: Hbase policy issue

2015-12-06 Thread Don Bosco Durai
Aneela, thanks Madhan, we should have both the jars in our plugin impl folder and make sure it works. Aneela, if you don't mind, can you do one experiment? Can you revert your change? Have the old httpcore in the hbase lib folder, but add the 4.2.5 in the ranger-impl folder (check under lib

Re: Rest-API for Latest Ranger code

2015-12-06 Thread Madhan Neethiraj
Aneela, We are working on updating the documentation. In the meantime, please review the following Java classes for details: - PublicAPIsv2.java – details of the REST API. Can be accessed at protocol://ranger-admin-host:port/service/public/v2. - RangerPolicy.java – details of policy,

Ranger public Rest APIs not working for Policies for custom plugin

2015-12-06 Thread Sachin Janani
Hi, I have created one custom plugin for a service in Ranger and I am trying to create a policy for that. I am able to create a policy for that plugin from the UI but when I try to create a policy from REST API then it is not getting created. Following is the REST API I am using for creating