[ 
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-03.patch

Thanks a lot [~surendrasingh] for the reviews. Attached another patch fixing it.

comment#1 -> Kept {{isSpsRunning}} flag inside Context to avoid the NN lock in 
SPS class. Had a discussion with Uma and this will be further refined in the 
continuation jira HDFS-12911.
comment#2 -> I've modified and made it simple by directly calling the ctxt api. 
The purpose of BlockMoveTaskHandler can be discussed in the HDFS-12911 - 
modularization work. 
comment#3 -> Done.

> [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, 
> HDFS-12982-HDFS-10285-01.patch, HDFS-12982-HDFS-10285-02.patch, 
> HDFS-12982-HDFS-10285-03.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]

Reply via email to