hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7463) Simplify FSNamesystem#getBlockLocationsUpdateTimes
Date Tue, 02 Dec 2014 07:14:12 GMT
Haohui Mai created HDFS-7463:

             Summary: Simplify FSNamesystem#getBlockLocationsUpdateTimes
                 Key: HDFS-7463
                 URL: https://issues.apache.org/jira/browse/HDFS-7463
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Haohui Mai
            Assignee: Haohui Mai

Currently {{FSNamesystem#getBlockLocationsUpdateTimes}} holds the read lock to access the
blocks. It releases the read lock and then acquires the write lock when it needs to update
the access time of the {{INode}}.

This jira proposes to move the responsibility of the latter steps to the caller to simplify
the code.

This message was sent by Atlassian JIRA

View raw message