You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Íñigo Goiri (Jira)" <ji...@apache.org> on 2020/01/21 21:34:00 UTC

[jira] [Commented] (HADOOP-16793) Remove WARN log when ipc connection interrupted in Client#handleSaslConnectionFailure()

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

Íñigo Goiri commented on HADOOP-16793:
--------------------------------------

[~iwasakims] thanks for committing.
Just for reference, the commit is d887e49dd4ed2b94bbb53b7608586f5da6cee037.
I changed the title of the JIRA to match the log message.

>  Remove WARN log when ipc connection interrupted in Client#handleSaslConnectionFailure()
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16793
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16793
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Lisheng Sun
>            Assignee: Lisheng Sun
>            Priority: Minor
>             Fix For: 3.3.0, 3.1.4, 3.2.2, 2.10.1
>
>         Attachments: HADOOP-16793.001.patch, HADOOP-16793.002.patch, HADOOP-16793.003.patch
>
>
> log info:
> {code:java}
> // Some comments here
> 2020-01-07,15:01:17,816 WARN org.apache.hadoop.ipc.Client: Exception encountered while connecting to the server : java.io.InterruptedIOException: Interrupted while waiting for IO on channel java.nio.channels.SocketChannel[connected local=/10.75.13.227:50415 remote=mb2-hadoop-prc-ct06.awsind/10.75.15.99:11230]. 60000 millis timeout left
> {code}
> With RequestHedgingProxyProvider, one rpc call will send multiple requests to all namenodes. After one request return successfully,  all other requests will be interrupted. It's not a big problem and should not print a warning log.
> {code:java}
> private synchronized void handleSaslConnectionFailure(
> ....
> LOG.warn("Exception encountered while connecting to "
>         + "the server : " + ex);
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org