hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10915) Fix time measurement bug in TestDatanodeRestart#testWaitForRegistrationOnRestart
Date Wed, 28 Sep 2016 01:00:40 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15527963#comment-15527963
] 

Mingliang Liu commented on HDFS-10915:
--------------------------------------

+1 pending on Jenkins.

> 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
>         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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message