[
https://issues.apache.org/jira/browse/HADOOP-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624833#action_12624833
]
Steve Loughran commented on HADOOP-4003:
----------------------------------------
full stack trace posted to the list
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)
at
org.apache.hadoop.dfs.TransferFsImage.getFileClient(TransferFsImage.java:149)
at
org.apache.hadoop.dfs.TransferFsImage.getFileClient(TransferFsImage.java:188)
at
org.apache.hadoop.dfs.SecondaryNameNode.getFSImage(SecondaryNameNode.java:245)
at
org.apache.hadoop.dfs.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:310)
at
org.apache.hadoop.dfs.SecondaryNameNode.run(SecondaryNameNode.java:223)
at java.lang.Thread.run(Thread.java:595)
> SecondaryNameNode could include the hostname/port in socket connect failures
> for better diagnostics
> ---------------------------------------------------------------------------------------------------
>
> Key: HADOOP-4003
> URL: https://issues.apache.org/jira/browse/HADOOP-4003
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.17.0
> Reporter: Steve Loughran
> Priority: Minor
>
> reported on the user mailing list. when the Secondary name node can't connect
> to the default filesystem, it passes up the JVM error, which of course omits
> useful information such as the host and port it is trying to connect to. all
> you see is : java.net.NoRouteToHostException: No route to host , which is
> not usually enough to diagnose problems.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.