[ https://issues.apache.org/jira/browse/HDFS-10921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Badger updated HDFS-10921: ------------------------------- Attachment: HDFS-10921.002.patch Looked deeper into this and saw that {{cluster = new MiniDFSCluster.Builder(conf).numDataNodes(REPLICATION).build();}} actually calls cluster.waitClusterUp(). The problem actually is that some tests call {{cluster.restartNameNodes()}}. There is an option to wait for the namenodes to become active, but that is currently set to false. I'm attaching a patch that sets this value to true so that the tests wait for the NN to get all the way back up before moving onto the next test. > 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