Description
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.
Attachments
Issue Links
- duplicates
-
HDFS-4909 Avoid protocol buffer RPC namespace clashes
- Closed