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

Suresh Srinivas resolved HDFS-4343.
-----------------------------------

    Resolution: Invalid

Closing this jira as Invalid. The behavior in the description is the expected 
behavior. When storage directories are in inconsistent state, invalid or stale 
directories are expected to be cleaned manually, before restarting a datanode.

If you disagree, feel free to reopen the jira. Please justify why you think it 
is a valid jira, when you reopen the jira.
                
> When storageID of dfs.data.dir of being inconsistent, restart datanode will 
> be failure.
> ---------------------------------------------------------------------------------------
>
>                 Key: HDFS-4343
>                 URL: https://issues.apache.org/jira/browse/HDFS-4343
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>         Environment: namenode datanode 
>            Reporter: liuyang
>         Attachments: hadoop-root-datanode-167-52-0-55.log, VERSION-1, 
> VERSION-2
>
>
> A datanode has multiple storage directories configured using dfs.data.dir. 
> When the storageID in the VERSION files in these directories, the datanode 
> fails to startup. Consider a scenario, when old data in a storage directory 
> is not cleared, the storage ID from it will not match with storage ID of in 
> other storage storage directories. In this situation, the DataNode will quit 
> and restart fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to