[
https://issues.apache.org/jira/browse/HDFS-11085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mingliang Liu updated HDFS-11085:
---------------------------------
Summary: Add unit test for NameNode failing to start when name dir is
unwritable (was: Add unit tests for NameNode failing to startup when name dir
can not be written)
> Add unit test for NameNode failing to start when name dir is unwritable
> -----------------------------------------------------------------------
>
> Key: HDFS-11085
> URL: https://issues.apache.org/jira/browse/HDFS-11085
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode, test
> Reporter: Mingliang Liu
> Assignee: Xiaobing Zhou
> Fix For: 2.8.0, 3.0.0-alpha2
>
> Attachments: HDFS-11085.000.patch, HDFS-11085.001.patch
>
>
> This can be placed in {{org.apache.hadoop.hdfs.server.namenode.TestStartup}}
> test class.
> UPDATE: this JIRA is for name dir only; for the edit log directories, we have
> unit test {{TestInitializeSharedEdits#testInitializeSharedEdits}}, which
> tests that in HA mode, we should not have been able to start any NN without
> shared dir.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]