hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9715) Check storage ID uniqueness on datanode startup
Date Wed, 27 Jan 2016 23:18:39 GMT

     [ 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.00.patch

Add a patch to check the existence of StorageUUID in {{FsDatasetImpl}}. It raises {{IOE}}
if a storage with the same storage UUID already exists.

> 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
>
>
> 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)

Mime
View raw message