hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3139) DistributedFileSystem.close() introduces a deadlock
Date Mon, 31 Mar 2008 20:12:31 GMT

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

Tsz Wo (Nicholas), SZE updated HADOOP-3139:
-------------------------------------------

    Description: 
Koji found the following:

My dfs -ls hang. 
Ctrl-Z showed a deadlock state.
{noformat}
"Thread-0":
        at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:190)
        - waiting to lock <0xedde8788> (a org.apache.hadoop.dfs.DistributedFileSystem)
        at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:1231)
        - locked <0xee0baf88> (a org.apache.hadoop.fs.FileSystem$Cache)
        at org.apache.hadoop.fs.FileSystem.closeAll(FileSystem.java:169)
        at org.apache.hadoop.fs.FileSystem$ClientFinalizer.run(FileSystem.java:154)
        - locked <0xee0bae40> (a org.apache.hadoop.fs.FileSystem$ClientFinalizer)
"main":
        at org.apache.hadoop.fs.FileSystem$Cache.remove(FileSystem.java:1201)
        - waiting to lock <0xee0baf88> (a org.apache.hadoop.fs.FileSystem$Cache)
        at org.apache.hadoop.fs.FileSystem.close(FileSystem.java:1085)
        at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:192)
        - locked <0xedde8788> (a org.apache.hadoop.dfs.DistributedFileSystem)
        at org.apache.hadoop.fs.FsShell.close(FsShell.java:1698)
        at org.apache.hadoop.fs.FsShell.main(FsShell.java:1712)

Found 1 deadlock.
{noformat}

  was:
Koji found the following:

My dfs -ls hang. 
Ctrl-Z showed a deadlock state.

"Thread-0":
        at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:190)
        - waiting to lock <0xedde8788> (a org.apache.hadoop.dfs.DistributedFileSystem)
        at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:1231)
        - locked <0xee0baf88> (a org.apache.hadoop.fs.FileSystem$Cache)
        at org.apache.hadoop.fs.FileSystem.closeAll(FileSystem.java:169)
        at org.apache.hadoop.fs.FileSystem$ClientFinalizer.run(FileSystem.java:154)
        - locked <0xee0bae40> (a org.apache.hadoop.fs.FileSystem$ClientFinalizer)
"main":
        at org.apache.hadoop.fs.FileSystem$Cache.remove(FileSystem.java:1201)
        - waiting to lock <0xee0baf88> (a org.apache.hadoop.fs.FileSystem$Cache)
        at org.apache.hadoop.fs.FileSystem.close(FileSystem.java:1085)
        at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:192)
        - locked <0xedde8788> (a org.apache.hadoop.dfs.DistributedFileSystem)
        at org.apache.hadoop.fs.FsShell.close(FsShell.java:1698)
        at org.apache.hadoop.fs.FsShell.main(FsShell.java:1712)

Found 1 deadlock.


> DistributedFileSystem.close() introduces a deadlock
> ---------------------------------------------------
>
>                 Key: HADOOP-3139
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3139
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>
> Koji found the following:
> My dfs -ls hang. 
> Ctrl-Z showed a deadlock state.
> {noformat}
> "Thread-0":
>         at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:190)
>         - waiting to lock <0xedde8788> (a org.apache.hadoop.dfs.DistributedFileSystem)
>         at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:1231)
>         - locked <0xee0baf88> (a org.apache.hadoop.fs.FileSystem$Cache)
>         at org.apache.hadoop.fs.FileSystem.closeAll(FileSystem.java:169)
>         at org.apache.hadoop.fs.FileSystem$ClientFinalizer.run(FileSystem.java:154)
>         - locked <0xee0bae40> (a org.apache.hadoop.fs.FileSystem$ClientFinalizer)
> "main":
>         at org.apache.hadoop.fs.FileSystem$Cache.remove(FileSystem.java:1201)
>         - waiting to lock <0xee0baf88> (a org.apache.hadoop.fs.FileSystem$Cache)
>         at org.apache.hadoop.fs.FileSystem.close(FileSystem.java:1085)
>         at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:192)
>         - locked <0xedde8788> (a org.apache.hadoop.dfs.DistributedFileSystem)
>         at org.apache.hadoop.fs.FsShell.close(FsShell.java:1698)
>         at org.apache.hadoop.fs.FsShell.main(FsShell.java:1712)
> Found 1 deadlock.
> {noformat}

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


Mime
View raw message