You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2007/03/28 00:25:32 UTC

[jira] Created: (HADOOP-1167) InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways

InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways
---------------------------------------------------------------------------

                 Key: HADOOP-1167
                 URL: https://issues.apache.org/jira/browse/HADOOP-1167
             Project: Hadoop
          Issue Type: Improvement
          Components: fs
    Affects Versions: 0.12.2
            Reporter: Owen O'Malley
         Assigned To: Owen O'Malley
            Priority: Minor
             Fix For: 0.13.0
         Attachments: h1167.patch

The InMemoryFileSystem uses synchronizedMaps and then guards each access to them by locking the FileSystem. There is also insufficient synchronization in create.

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


[jira] Updated: (HADOOP-1167) InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-1167:
----------------------------------

    Status: Patch Available  (was: Open)

> InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-1167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1167
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.12.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: h1167.patch
>
>
> The InMemoryFileSystem uses synchronizedMaps and then guards each access to them by locking the FileSystem. There is also insufficient synchronization in create.

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


[jira] Commented: (HADOOP-1167) InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484638 ] 

Hadoop QA commented on HADOOP-1167:
-----------------------------------

+1, because http://issues.apache.org/jira/secure/attachment/12354373/h1167.patch applied and successfully tested against trunk revision http://svn.apache.org/repos/asf/lucene/hadoop/trunk/523072. Results are at http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch

> InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-1167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1167
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.12.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: h1167.patch
>
>
> The InMemoryFileSystem uses synchronizedMaps and then guards each access to them by locking the FileSystem. There is also insufficient synchronization in create.

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


[jira] Updated: (HADOOP-1167) InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-1167:
----------------------------------

    Attachment: h1167.patch

> InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-1167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1167
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.12.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: h1167.patch
>
>
> The InMemoryFileSystem uses synchronizedMaps and then guards each access to them by locking the FileSystem. There is also insufficient synchronization in create.

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


[jira] Updated: (HADOOP-1167) InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1167:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Owen!

> InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-1167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1167
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.12.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: h1167.patch
>
>
> The InMemoryFileSystem uses synchronizedMaps and then guards each access to them by locking the FileSystem. There is also insufficient synchronization in create.

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


[jira] Commented: (HADOOP-1167) InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484712 ] 

Devaraj Das commented on HADOOP-1167:
-------------------------------------

+1

> InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-1167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1167
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.12.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: h1167.patch
>
>
> The InMemoryFileSystem uses synchronizedMaps and then guards each access to them by locking the FileSystem. There is also insufficient synchronization in create.

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


[jira] Commented: (HADOOP-1167) InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485595 ] 

Hadoop QA commented on HADOOP-1167:
-----------------------------------

Integrated in Hadoop-Nightly #42 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/42/)

> InMemoryFileSystem uses synchronizedtMaps with maps that are locked anyways
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-1167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1167
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.12.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: h1167.patch
>
>
> The InMemoryFileSystem uses synchronizedMaps and then guards each access to them by locking the FileSystem. There is also insufficient synchronization in create.

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