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

Eric Badger commented on HDFS-10921:
------------------------------------

[~rushabh.shah], [~daryn], [~kihwal], do you think it's reasonable to change 
{{restartNameNodes()}} to wait for active by default? Lots of tests call this 
function and it could add non-negligible runtime to the tests. However, the 
argument could be made that the NN hasn't finished restarting until it is back 
out of safemode. So I'm wondering if we should keep the patch as is or if we 
should special-case fix TestDiskspaceQuotaUpdate to call restartNameNode() with 
waitActive == true. 

> TestDiskspaceQuotaUpdate doesn't wait for NN to get out of safe mode
> --------------------------------------------------------------------
>
>                 Key: HDFS-10921
>                 URL: https://issues.apache.org/jira/browse/HDFS-10921
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>         Attachments: HDFS-10921.001.patch, HDFS-10921.002.patch
>
>
> Test fails intermittently because the NN is still in safe mode. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to