[
https://issues.apache.org/jira/browse/HDFS-9715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127293#comment-15127293
]
Andrew Wang commented on HDFS-9715:
-----------------------------------
Smallest nit ever, the javadoc for the activateVolume method still says
"Active" rather than "Activate". Otherwise I'm +1 too, thanks Eddy.
> 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)