-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.7.4, 3.0.0-alpha2
-
Component/s: test
-
Labels:None
-
Hadoop Flags:Reviewed
It should be milliseconds in the message of IOException.
} catch (org.apache.hadoop.ipc.RemoteException e) { long elapsed = System.currentTimeMillis() - start; // timers have at-least semantics, so it should be at least 5 seconds. if (elapsed < 5000 || elapsed > 10000) { throw new IOException(elapsed + " seconds passed.", e); } }