Jinglun created HDFS-13901:
------------------------------

             Summary: INode access time is ignored because of race between open 
and rename
                 Key: HDFS-13901
                 URL: https://issues.apache.org/jira/browse/HDFS-13901
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Jinglun


That's because in getBlockLocations there is a gap between readUnlock and 
re-fetch write lock (to update access time). If a rename operation occurs in 
the gap, the update of access time will be ignored. We can calculate new path 
from the inode and use the new path to update access time. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to