hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milan Desai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7647) DatanodeManager.sortLocatedBlocks() sorts DatanodeIDs but not StorageIDs
Date Tue, 20 Jan 2015 23:12:35 GMT
Milan Desai created HDFS-7647:
---------------------------------

             Summary: DatanodeManager.sortLocatedBlocks() sorts DatanodeIDs but not StorageIDs
                 Key: HDFS-7647
                 URL: https://issues.apache.org/jira/browse/HDFS-7647
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Milan Desai
            Assignee: Milan Desai


DatanodeManager.sortLocatedBlocks() sorts the array of DatanodeIDs inside each LocatedBlock,
but does not touch the array of StorageIDs and StorageTypes. As a result, the DatanodeIDs
and StorageIDs/StorageTypes are mismatched. The method is called by FSNamesystem.getBlockLocations(),
so the client will not know which StorageID/Type corresponds to which DatanodeID.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message