[ 
https://issues.apache.org/jira/browse/HDFS-9715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129694#comment-15129694
 ] 

Lei (Eddy) Xu commented on HDFS-9715:
-------------------------------------

Thanks a lot for the reviews, [~vinayrpet] and [~andrew.wang]

> Check storage ID uniqueness on datanode startup
> -----------------------------------------------
>
>                 Key: HDFS-9715
>                 URL: https://issues.apache.org/jira/browse/HDFS-9715
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.7.2
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>             Fix For: 2.8.0
>
>         Attachments: HDFS-9715.00.patch, HDFS-9715.01.patch, 
> HDFS-9715.02.patch, HDFS-9715.03.patch
>
>
> We should fix this to check storage ID uniqueness on datanode startup. If 
> someone has manually edited the storage ID files, or if they have duplicated 
> a directory (or re-added an old disk) they could end up with a duplicate 
> storage ID and not realize it. 
> The HDFS-7575 fix does generate storage UUID for each storage, but not checks 
> the uniqueness of these UUIDs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to