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 "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/29 01:38:00 UTC
[jira] [Commented] (HDFS-13515) NetUtils#connect should log remote
address for NoRouteToHostException
[ https://issues.apache.org/jira/browse/HDFS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457880#comment-16457880 ]
ASF GitHub Bot commented on HDFS-13515:
---------------------------------------
GitHub user lqjack opened a pull request:
https://github.com/apache/hadoop/pull/371
HDFS-13515
provide the info when connect
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lqjack/hadoop HDFS-13515
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/371.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #371
----
commit 3a5575ac6d06e1f02b26cede0939f67335d36c8b
Author: lqjaclee <lq...@...>
Date: 2018-04-29T01:37:14Z
HDFS-13515
provide the info when connect
----
> NetUtils#connect should log remote address for NoRouteToHostException
> ---------------------------------------------------------------------
>
> Key: HDFS-13515
> URL: https://issues.apache.org/jira/browse/HDFS-13515
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Ted Yu
> Priority: Minor
>
> {code}
> hdfs.BlockReaderFactory: I/O error constructing remote block reader.
> java.net.NoRouteToHostException: No route to host
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
> at org.apache.hadoop.hdfs.DFSClient.newConnectedPeer(DFSClient.java:2884)
> {code}
> In the above stack trace, the remote host was not logged.
> This makes troubleshooting a bit hard.
> NetUtils#connect should log remote address for NoRouteToHostException .
--
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