hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9524) libhdfs++ deadlocks in Filesystem::New if NN conneciton fails
Date Mon, 14 Dec 2015 20:50:46 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056693#comment-15056693
] 

James Clampffer commented on HDFS-9524:
---------------------------------------

Thanks for the patch update [~bobthansen]; it works for me now.

As far as I can tell you'd have the same problem if you deleted the FileSystem in the FileSystem::Connect
callback on a failed connect.  Maybe it's worth having a rule/comment about deleting the filesystem
from within the context of a callback?

> libhdfs++ deadlocks in Filesystem::New if NN conneciton fails
> -------------------------------------------------------------
>
>                 Key: HDFS-9524
>                 URL: https://issues.apache.org/jira/browse/HDFS-9524
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Bob Hansen
>            Assignee: Bob Hansen
>         Attachments: HDFS-9524.HDFS-8707.000.patch, HDFS-9524.HDFS-8707.001.patch
>
>
> FileSystem::New attempts to free the new FileSystem if the connection fails.  Unfortunately,
it's in the middle of a callback from the filesystem's threadpool, and attempts to join the
worker thread while running the worker thread.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message