hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaobing Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10915) fix typo in TestDatanodeRestart#testWaitForRegistrationOnRestart
Date Tue, 27 Sep 2016 21:39:21 GMT
Xiaobing Zhou created HDFS-10915:
------------------------------------

             Summary: fix typo in TestDatanodeRestart#testWaitForRegistrationOnRestart
                 Key: HDFS-10915
                 URL: https://issues.apache.org/jira/browse/HDFS-10915
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Xiaobing Zhou
            Assignee: Xiaobing Zhou


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


Mime
View raw message