hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-6161) fix HDFS protobuf namespace conflicts
Date Thu, 27 Mar 2014 19:06:22 GMT

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

Colin Patrick McCabe resolved HDFS-6161.
----------------------------------------

    Resolution: Duplicate

> fix HDFS protobuf namespace conflicts
> -------------------------------------
>
>                 Key: HDFS-6161
>                 URL: https://issues.apache.org/jira/browse/HDFS-6161
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, namenode
>            Reporter: Colin Patrick McCabe
>            Priority: Minor
>
> HDFS currently puts multiple protobuf definitions with the same name in the same protobuf
namespace.
> For example, {{QJournalProtocol}} defines {{HeartbeatRequestProto}} in package {{hadoop.hdfs}},
but DatanodeProtocol also defines something different, also called {{HeartbeatRequestProto}}
and also in package {{hadoop.hdfs}}.
> This isn't an issue in Java because the java PB compiler seems to disregard the PB namespaces,
putting the generated {{QJournalProtocolProtos.java}} file in package {{org.apache.hadoop.hdfs.qjournal.protocol}}
and the DN one in a different java namespace.  However, it is an issue when creating protobuf
bindings in other languages.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message