[ 
https://issues.apache.org/jira/browse/HADOOP-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE resolved HADOOP-4986.
--------------------------------------------

    Resolution: Invalid

getBlockLocationsInternal is already synchronized.  How come I have missed this?

> FSNamesystem.getBlockLocations sets access time without holding the namespace 
> locks
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-4986
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4986
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>
> After the access time feature is added to HDFS, 
> FSNamesystem.getBlockLocations(..) is no longer a read only namespace 
> operation.  It changes the namespace by updating the access time.  However, 
> the thread does not own namespace locks.  This may lead to namespace 
> inconsistency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to