Abhay,

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.

Thanks,
Madhan

On 6/30/15, 9:10 PM, "Abhay Kulkarni" <[email protected]> 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 +
>".policy.rest.url");
>
>Any pointers, help will be much appreciated!!
>
>Thanks!
>
>-Abhay

Reply via email to