hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Powell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5689) FsDatasetImpl registers mbean using uninitialized DataNode UUID
Date Thu, 19 Dec 2013 17:50:09 GMT
David Powell created HDFS-5689:

             Summary: FsDatasetImpl registers mbean using uninitialized DataNode UUID
                 Key: HDFS-5689
                 URL: https://issues.apache.org/jira/browse/HDFS-5689
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
    Affects Versions: 3.0.0
            Reporter: David Powell
            Priority: Minor

FsDatasetImpl's constructor attempts to include the datanode UUID in its mbean's ObjectName:


Unfortunately this doesn't work because the provided DataNode's UUID isn't set until bpRegistrationSucceeded()
is called... after the FsDatasetImpl has been created.  The result is the mbean is always
registered with a bogus (though valid) ObjectName:


Prior to HDFS-2832 and the storageID -> datanodeUuid rename, this was initialized using
the DataStorage:


With the fix for HDFS-5454 in place, doing equivalent thing (already done by SimulatedFSDataset):


...fixes the problem:


This message was sent by Atlassian JIRA

View raw message