ReadLock should be enough for FsNameSystem#renewLease.
------------------------------------------------------

                 Key: HDFS-2695
                 URL: https://issues.apache.org/jira/browse/HDFS-2695
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 0.24.0
            Reporter: Uma Maheswara Rao G
            Assignee: Uma Maheswara Rao G
            Priority: Minor


When checking the issue HDFS-1241, found this point.
Since renewLease is not updating any nameSystem related data, can we make this 
lock to read lock?
am i missing some thing here? 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to