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

Masatake Iwasaki commented on HDFS-9905:
----------------------------------------

{code}
  private static final int SHORT_SOCKET_TIMEOUT = 5;
{code}

I had to decrease the value of SHORT_SOCKET_TIMEOUT to reproduce the issue in a 
few tries on my environment. Maybe just increasing the value to 20 or 30 is 
enough to avoid the issue even on heavily loaded build servers.


> TestWebHdfsTimeouts fails occasionally
> --------------------------------------
>
>                 Key: HDFS-9905
>                 URL: https://issues.apache.org/jira/browse/HDFS-9905
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.7.3
>            Reporter: Kihwal Lee
>            Assignee: Wei-Chiu Chuang
>         Attachments: HDFS-9905.001.patch
>
>
> When checking for a timeout, it does get {{SocketTimeoutException}}, but the 
> message sometimes does not contain "connect timed out". Since the original 
> exception is not logged, we do not know details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to