-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 3.0.0-alpha2
-
Fix Version/s: None
-
Component/s: webhdfs
-
Labels:None
-
Target Version/s:
TestWebHdfsTimeouts expects SocketTimeoutException with "connect timed out" or "Read timed out" message but fails when encountering "null" message sometimes. Occurred 4 out of 100 tests.
SocksSocketImpl#remainingMillis may send null SocketTimeoutException:
private static int remainingMillis(long deadlineMillis) throws IOException { if (deadlineMillis == 0L) return 0; final long remaining = deadlineMillis - System.currentTimeMillis(); if (remaining > 0) return (int) remaining; throw new SocketTimeoutException(); <<<<== }
- relates to
-
HDFS-11043 TestWebHdfsTimeouts fails
-
- Resolved
-