[
https://issues.apache.org/jira/browse/HDFS-12982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rakesh R updated HDFS-12982:
----------------------------
Attachment: HDFS-12982-HDFS-10285-00.patch
I've tried an initial attempt to refactor the code by separating out the
querying the HdfsFileStatus info and does computation outside name system lock.
Welcome feedback on the approach.
Note: I have adopted the {{Context}} interface discussed in HDFS-12911 to keep
all the namesystem/blockManager NN calls behind the context interface.
> [SPS]: Reduce the locking and cleanup the Namesystem access
> -----------------------------------------------------------
>
> Key: HDFS-12982
> URL: https://issues.apache.org/jira/browse/HDFS-12982
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Rakesh R
> Assignee: Rakesh R
> Attachments: HDFS-12982-HDFS-10285-00.patch
>
>
> This task is to optimize the NS lock usage in SPS and cleanup the Namesystem
> access via {{Context}} interface.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]