[
https://issues.apache.org/jira/browse/HDFS-9524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056453#comment-15056453
]
James Clampffer commented on HDFS-9524:
---------------------------------------
This seems to cause libhdfs_threaded_hdfspp_test_shim_static to fail on my dev
machine. Might be related to the code snippet below.
In hdfsConnect:
"if (fs->Connect(nn, port_as_string).ok()) {
ReportError(ENODEV, "Unable to connect to NameNode.");"
Should the if condition be negated here?
> 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
>
>
> 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)