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

Lei (Eddy) Xu updated HDFS-9715:
--------------------------------
    Attachment: HDFS-9715.01.patch

Hey, [~vinayrpet] Thanks a lot for the review.

I updated to patch to address your reviews and to fix {{checkstyle}} warnings. 
It also fixes the test failure from {{TestDFSFinalize}}.

The rest of failures seems not relevant and passed on my laptop.

> 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
>         Attachments: HDFS-9715.00.patch, HDFS-9715.01.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