[ 
https://issues.apache.org/jira/browse/HDFS-5654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daryn Sharp updated HDFS-5654:
------------------------------

    Attachment: HDFS-5654.patch

Adds an interface for a lock context to {{FSNameSystemLock}}, and provides a 
trivial implementation of a coarse locking context which just uses the 
{{FSNamesystemLock}} itself.  I'll update some path-based {{FSNamesystem}} 
methods on a followup jira.

> Add lock context support to FSNamesystemLock
> --------------------------------------------
>
>                 Key: HDFS-5654
>                 URL: https://issues.apache.org/jira/browse/HDFS-5654
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-5654.patch
>
>
> Supporting new methods of locking the namesystem, ie. coarse or fine-grain, 
> needs an api to manage the locks (or any object conforming to Lock interface) 
> held during access to the namespace.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to