[
https://issues.apache.org/jira/browse/HDFS-10915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15528359#comment-15528359
]
Hudson commented on HDFS-10915:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10504 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/10504/])
HDFS-10915. Fix time measurement bug in TestDatanodeRestart. Contributed
(liuml07: rev 6437ba18c5c26bc271a63aff5ea03756f43dd9a3)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestDatanodeRestart.java
> Fix time measurement bug in
> TestDatanodeRestart#testWaitForRegistrationOnRestart
> --------------------------------------------------------------------------------
>
> Key: HDFS-10915
> URL: https://issues.apache.org/jira/browse/HDFS-10915
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
> Priority: Minor
> Fix For: 2.7.4, 3.0.0-alpha2
>
> Attachments: HDFS-10915.000.patch, HDFS-10915.001.patch
>
>
> It should be milliseconds in the message of IOException.
> {code}
> } 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);
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]