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

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

bq. Can we just change the calls to cluster.restartNameNodes() to 
cluster.restartNameNode(true)?

[~xkrogen], that sounds like a reasonable change. The only reservation I have 
with that is that I've encountered problems when tests use @BeforeClass to 
start up a cluster and use it for all tests. If one of the tests fails and 
kills the cluster, then all subsequent tests will fail because they depended on 
the cluster being left in a usable state. I've seen 20 tests fail in a class 
because a single test failed. Maybe that's an acceptable tradeoff for decreased 
runtime, but it makes debugging the specific failure harder. 

> 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