[
https://issues.apache.org/jira/browse/HDFS-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu updated HDFS-7756:
-------------------------
Description:
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.
was:
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
DatanodeInfo is tagged @InterfaceAudience.Private
DatanodeInfoWithStorage should have the same tag.
> Restore method signature for LocatedBlock#getLocations()
> --------------------------------------------------------
>
> Key: HDFS-7756
> URL: https://issues.apache.org/jira/browse/HDFS-7756
> Project: Hadoop HDFS
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> 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)