hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7756) DatanodeInfoWithStorage should be tagged Private
Date Mon, 09 Feb 2015 22:43:34 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313055#comment-14313055
] 

Ted Yu commented on HDFS-7756:
------------------------------

Rationale for keeping return type intact is that DatanodeInfoWithStorage deals with implementation
detail.
It should not be directly referenced by downstream projects.

> DatanodeInfoWithStorage should be tagged Private
> ------------------------------------------------
>
>                 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
> DatanodeInfo is tagged @InterfaceAudience.Private
> DatanodeInfoWithStorage should have the same tag.



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

Mime
View raw message