[
https://issues.apache.org/jira/browse/HDFS-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747421#comment-13747421
]
Tsz Wo (Nicholas), SZE commented on HDFS-5115:
----------------------------------------------
One more comment: I think it is good to have the "DS-" prefix.
> Make StorageID a UUID
> ---------------------
>
> Key: HDFS-5115
> URL: https://issues.apache.org/jira/browse/HDFS-5115
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Affects Versions: 3.0.0
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Attachments: h5115.01.patch
>
>
> The Storage ID is currently generated from the DataNode's IP+Port+Random
> components. This scheme will not work when we have separate Storage IDs for
> each storage directory as there is a possibility of conflicts when an
> unreliable storage is intermittently offline.
> Converting it to a UUID makes collisions very unlikely.
--
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