You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/03/22 21:58:04 UTC
[jira] [Commented] (HDFS-10310) libhdfs++: hdfsConnect hangs when
given bad host or port
[ https://issues.apache.org/jira/browse/HDFS-10310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410422#comment-16410422 ]
Hudson commented on HDFS-10310:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13869 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13869/])
HDFS-10310. hdfsConnect hangs when given bad host or port. Contributed (james.clampffer: rev cc51f2ce58a39981d6792d91539edb38c9f71011)
* (edit) hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/connection/datanodeconnection.cc
* (edit) hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/rpc/rpc_connection.h
* (edit) hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.h
> libhdfs++: hdfsConnect hangs when given bad host or port
> --------------------------------------------------------
>
> Key: HDFS-10310
> URL: https://issues.apache.org/jira/browse/HDFS-10310
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: James Clampffer
> Priority: Major
> Attachments: HDFS-10310.HDFS-8707.000.patch, HDFS-10310.HDFS-8707.001.patch
>
>
> hdfsConnect will hang when it attempts to connect to a non-existent NN, right now the client has to wait on a TCP timeout to get unstuck. Adding some reasonable timeout on FileSystem::Connect will fix this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org