Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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); } }