hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1205) The open method of FSNamesystem should be synchronized
Date Wed, 09 May 2007 00:44:15 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494420

Raghu Angadi commented on HADOOP-1205:

Other modifications to blocksMap don't lock blocksMap. Many places the the access is under
global FSNamesystem lock. But not all accesses to blocksMap is under lock. We will need to
fix all of them, possibly by moving it under global lock. 

I am not sure if the patch fixes any issue. Can you clarify why the change is correct or helps?

> The open method of FSNamesystem should be synchronized
> ------------------------------------------------------
>                 Key: HADOOP-1205
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1205
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.2
>            Reporter: Hairong Kuang
>            Priority: Blocker
>             Fix For: 0.13.0
>         Attachments: open.patch
> Method open accesses a shared data structure blockMap. If synchronization access is not
enforced, open might return inconsistent results.

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

View raw message