You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Margusja <ma...@roo.ee> on 2017/11/07 07:00:08 UTC

Developing plugin using 0.7.0 and RANGER-1479

Hi

We hit https://issues.apache.org/jira/browse/RANGER-1479 <https://issues.apache.org/jira/browse/RANGER-1479>.
At the moment we use Ranger-0.7.0 from Hortonworks distro (HDP-2.6.1.0).

What are my option at the moment?
1 - download latest src and compile it and use it to build our custom plugin?
2 - Is it possible to put this XML files somewhere else to help RangerConfiguration to find them?
3 - ?

Br Margus

Re: Developing plugin using 0.7.0 and RANGER-1479

Posted by Margusja <ma...@roo.ee>.
Hi

I resolved at the moment it compiling https://github.com/apache/ranger/blob/master/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfiguration.java <https://github.com/apache/ranger/blob/master/agents-common/src/main/java/org/apache/ranger/authorization/hadoop/config/RangerConfiguration.java> separately and replaced class fail in dependency jar file ranger-plugins-common-0.7.1.jar

We are developing ranger plugin application working with data on hadoop. All hadoop components are nicely via Ranger but our custom GUI needed audit and security. So it was logical not to build new audit framework but use existing - Ranger. 
Used examples from git and development process was clear and easy.

Br Margus

> On 7 Nov 2017, at 09:00, Margusja <ma...@roo.ee> wrote:
> 
> Hi
> 
> We hit https://issues.apache.org/jira/browse/RANGER-1479 <https://issues.apache.org/jira/browse/RANGER-1479>.
> At the moment we use Ranger-0.7.0 from Hortonworks distro (HDP-2.6.1.0).
> 
> What are my option at the moment?
> 1 - download latest src and compile it and use it to build our custom plugin?
> 2 - Is it possible to put this XML files somewhere else to help RangerConfiguration to find them?
> 3 - ?
> 
> Br Margus


Re: Developing plugin using 0.7.0 and RANGER-1479

Posted by Zsombor <gz...@gmail.com>.
Hi,

 The plugin only use the REST interface to communicate with the server, and
the protocol to download the policies are not changed recently,
so I think, you will be fine, if you compile your plugin with the latest
apache master branch, and use that jars as is.

Could you share for which component do you develop plugin for?

Best regards,
 Zsombor

On Tue, Nov 7, 2017 at 8:00 AM, Margusja <ma...@roo.ee> wrote:

> Hi
>
> We hit https://issues.apache.org/jira/browse/RANGER-1479.
> At the moment we use Ranger-0.7.0 from Hortonworks distro (HDP-2.6.1.0).
>
> What are my option at the moment?
> 1 - download latest src and compile it and use it to build our custom
> plugin?
> 2 - Is it possible to put this XML files somewhere else to help RangerConfiguration
> to find them?
> 3 - ?
>
> Br Margus
>