hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Masse <m...@massedynamic.org>
Subject Re: Znode ACL watcher?
Date Mon, 22 Feb 2010 17:30:28 GMT
Thanks guys.

I don't have a strong use case but it did seem something of an
oddity/incompleteness when I was implementing the eclipse plug-in to
dynamically respond to znode changes.  Without a Watcher available, it means
that ACL changes are the one instance where a user has to manually click
"Refresh" to see the latest version.

This is clearly a UI-centric example, but I am not aware of any *normal* use
cases where this would be an issue.

Regards,

 --
Mark Masse
http://www.massedynamic.org


On Mon, Feb 22, 2010 at 9:16 AM, Patrick Hunt <phunt@apache.org> wrote:

> Feel free to enter JIRA(s) if you feel strongly. I agree with Ben in the
> sense that I haven't heard of any use cases that require this, but a JIRA
> with examples might strengthen the case.
>
> Patrick
>
>
> Benjamin Reed wrote:
>
>> no, you cannot watch for ACL changes. it is one of the API/implementation
>> simplifications we did since we didn't have a good use case for it.
>>
>> it does seem a little bit weird. we are following file system semantics
>> here. i guess for ultimate security only clients with admin permission would
>> be able to see an ACL.
>>
>> ben
>>
>> On 02/22/2010 08:00 AM, Mark Masse wrote:
>>
>>> Hi,
>>>
>>> Does anyone know if there's a way to get a Watcher notification when a
>>> znode's ACL changes?
>>>
>>> I also wanted to ask if it seems weird that you can "read" a znode's ACL
>>> even if you don't have permissions to read the data.
>>>
>>> Thanks,
>>>
>>>  --
>>> Mark Masse
>>> http://www.massedynamic.org
>>>
>>>
>>
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message