[ https://issues.apache.org/jira/browse/HDFS-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mingliang Liu updated HDFS-11031: --------------------------------- Attachment: HDFS-11031.003.patch Thanks [~brahmareddy] for your review. The v3 patch addressed all the comments. Specially, {quote} we are starting only one DataNode..? {quote} We've started 2 == _repl_ DataNodes in the {{setUp()}} @Before method which sets up the mini-cluster. This is based on the existing test class. Here we test the case where one DataNode should behave as expected when one of its disk fails. To make this clearer, I also added two new assertions like following: {code} // bring up one more DataNode assertEquals(repl, cluster.getDataNodes().size()); cluster.startDataNodes(newConf, 1, false, null, null); assertEquals(repl + 1, cluster.getDataNodes().size()); {code} > Add additional unit test for DataNode startup behavior when volumes fail > ------------------------------------------------------------------------ > > Key: HDFS-11031 > URL: https://issues.apache.org/jira/browse/HDFS-11031 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, test > Reporter: Mingliang Liu > Assignee: Mingliang Liu > Attachments: HDFS-11031-branch-2.001.patch, > HDFS-11031-branch-2.002.patch, HDFS-11031.000.patch, HDFS-11031.001.patch, > HDFS-11031.002.patch, HDFS-11031.003.patch > > > There are several cases to add in {{TestDataNodeVolumeFailure}}: > - DataNode should not start in case of volumes failure > - DataNode should not start in case of lacking data dir read/write permission > - ... -- 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