[
https://issues.apache.org/jira/browse/HADOOP-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated HADOOP-1517:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Konstantin!
> Three methods in FSNamesystem should not be synchronized.
> ---------------------------------------------------------
>
> Key: HADOOP-1517
> URL: https://issues.apache.org/jira/browse/HADOOP-1517
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.13.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Priority: Critical
> Fix For: 0.14.0
>
> Attachments: NameSystemSync.patch
>
>
> Joining my UTF8 patch HADOOP-1283 with synchronization changes introduced by
> HADOOP-1269
> I missed to remove synchronization modifiers in the following three methods:
> startFile()
> getAdditionalBlock()
> allocateBlock()
> Fine grained locking does not work if the first two methods are synchronized.
> This is the patch that removes them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.