[ 
https://issues.apache.org/jira/browse/HDFS-11085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HDFS-11085:
---------------------------------
    Description: 
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.

  was:This can be placed in 
{{org.apache.hadoop.hdfs.server.namenode.TestStartup}} test class.


> Add unit tests for NameNode failing to startup when name dir can not be 
> written
> -------------------------------------------------------------------------------
>
>                 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
>         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]

Reply via email to