PM
To:
Subject: Re: Programmatically invalidate cache of Ranger plugins
Madhan,
I am going to check that, thank you!
Regards,
Matteo
On 26/06/19 16:22, Madhan Neethiraj wrote:
Matteo,
Enhancements in RANGER-2349 introduced method
RangerBasePlugin.refreshPoliciesAndTags(), which can be cal
ne 26, 2019 at 12:58 PM
*To: * <mailto:user@ranger.apache.org>
*Subject: *Re: Programmatically invalidate cache of Ranger plugins
Hi Abhay,
thanks for the info!
That logic just downloads the latest policies and tags but it does
not invalidate cache, right? My problem is that
helps.
Madhan
From: Matteo Alessandroni
Reply-To: "user@ranger.apache.org"
Date: Wednesday, June 26, 2019 at 5:37 AM
To: "user@ranger.apache.org"
Subject: Re: Programmatically invalidate cache of Ranger plugins
Hi Bosco,
well in general my flow is
el, Abhay’s API should solve your use case, unless I got it wrong.
Bosco
*From: *Matteo Alessandroni
*Reply-To: *
*Date: *Wednesday, June 26, 2019 at 12:58 PM
*To: *
*Subject: *Re: Programmatically invalidate cache of Ranger plugins
Hi Abhay,
thanks for the info!
That logic just downloads the
: Programmatically invalidate cache of Ranger plugins
Hi Abhay,
thanks for the info!
That logic just downloads the latest policies and tags but it does not
invalidate cache, right? My problem is that when I try to push new policies via
REST API the plugin keeps previous cached policies and
Hi Abhay,
thanks for the info!
That logic just downloads the latest policies and tags but it does not
invalidate cache, right? My problem is that when I try to push new
policies via REST API the plugin keeps previous cached policies and does
not replace those with new ones so in that case I ne
Hi Bosco,
I need to explicitly trigger cache invalidate from code!
Thanks!
Matteo
On 25/06/19 18:11, Don Bosco Durai wrote:
You want to shorten the refresh time or explicitly trigger cache
invalidate? The former is easy and there is a property to do it.
Bosco
*From: *Matteo Alessandroni
https://issues.apache.org/jira/browse/RANGER-2349 provides a way to
download policies (and tags) on demand. Ranger plugin code may call
RangerBasePlugin.refreshPoliciesAndTags() API to get the latest policies
and tags.
Thanks,
-Abhay
On Tue, Jun 25, 2019 at 9:11 AM Don Bosco Durai wrote:
> You
You want to shorten the refresh time or explicitly trigger cache invalidate?
The former is easy and there is a property to do it.
Bosco
From: Matteo Alessandroni
Reply-To:
Date: Tuesday, June 25, 2019 at 8:45 PM
To: "user@ranger.apache.org"
Subject: Programmatically invalidate cache