[ 
https://issues.apache.org/jira/browse/HDFS-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yi Liu updated HDFS-7756:
-------------------------
          Resolution: Fixed
       Fix Version/s: 2.7.0
    Target Version/s: 2.7.0
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

Committed to trunk and branch-2

> Restore method signature for LocatedBlock#getLocations()
> --------------------------------------------------------
>
>                 Key: HDFS-7756
>                 URL: https://issues.apache.org/jira/browse/HDFS-7756
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 2.7.0
>
>         Attachments: hdfs-7756-001.patch, hdfs-7756-002.patch
>
>
> This is related to HDFS-7647
> DatanodeInfoWithStorage was introduced in 
> org.apache.hadoop.hdfs.server.protocol package whereas its base class, 
> DatanodeInfo, is in org.apache.hadoop.hdfs.protocol
> Method signature change in LocatedBlock#getLocations() breaks downstream 
> project(s) (such as HBase) which may reorder DatanodeInfo's.
> DatanodeInfo is tagged @InterfaceAudience.Private
> DatanodeInfoWithStorage should have the same tag.



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

Reply via email to