[ https://issues.apache.org/jira/browse/HDFS-9905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180225#comment-15180225 ]
Kihwal Lee commented on HDFS-9905: ---------------------------------- This is from a precommit for HDFS-9239. {noformat} Running org.apache.hadoop.hdfs.web.TestWebHdfsTimeouts Tests run: 16, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.611 sec <<< FAILURE! - in org.apache.hadoop.hdfs.web.TestWebHdfsTimeouts testAuthUrlReadTimeout[timeoutSource=ConnectionFactory](org.apache.hadoop.hdfs.web.TestWebHdfsTimeouts) Time elapsed: 0.083 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<localhost:37255: [Read timed out]> but was:<localhost:37255: [null]> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.hadoop.hdfs.web.TestWebHdfsTimeouts.testAuthUrlReadTimeout(TestWebHdfsTimeouts.java:195) {noformat} We also saw this from our own build. {noformat} org.junit.ComparisonFailure: expected:<localhost:38830: [connect timed out]> but was:<localhost:38830: [null]> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.hadoop.hdfs.web.TestWebHdfsTimeouts.testTwoStepWriteConnectTimeout(TestWebHdfsTimeouts.java:206) {noformat} > 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 > > 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)