ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mneethi...@hortonworks.com>
Subject Re: A question on RangerConfiguration object in Ranger-Admin
Date Fri, 03 Jul 2015 09:46:56 GMT

RangerConfiguration handles only the configuration files used in plugins
(ranger-<type>-security.xml and ranger-<type>-audit.xml). Use of
RangerConfiguration in ranger-admin would require updating its
implementation, for example by adding a method
addResourcesForRangerAdmin() - which should be called during
initialization of ranger-admin.

Hope this helps.


On 6/30/15, 9:10 PM, "Abhay Kulkarni" <akulkarni@hortonworks.com> wrote:

>All ranger developers,
>Which .xml files are used to initialize configuration properties for
>ranger-admin process? I put my configuration property in
>ranger-admin-site.xml, but it was not picked up by the following code
>executing in ranger-admin JVM ( 'url' variable  was null after the call).
>String url               =
>RangerConfiguration.getInstance().get(propertyPrefix +
>Any pointers, help will be much appreciated!!

View raw message