Liu Shaohui created HBASE-11373: ----------------------------------- Summary: hbase-protocol compile failed for name conflict of RegionTransition Key: HBASE-11373 URL: https://issues.apache.org/jira/browse/HBASE-11373 Project: HBase Issue Type: Bug Components: Protobufs Reporter: Liu Shaohui Priority: Minor
The compile of hbase-protocol failed for there are two message named RegionTransition in ZooKeeper.proto and RegionServerStatus.proto {quote} $mvn clean package -Pcompile-protobuf -X .... \[DEBUG\] RegionServerStatus.proto:81:9: "RegionTransition" is already defined in file "ZooKeeper.proto". \[DEBUG\] RegionServerStatus.proto:114:12: "RegionTransition" seems to be defined in "ZooKeeper.proto", which is not imported by "RegionServerStatus.proto". To use it here, please add the necessary import. \[ERROR\] protoc compiler error {quote} Through It will be ok if we compile the the ZooKeeper.proto and RegionServerStatus.proto seperately. it is not very convenient. The new RegionTransition is RegionServerStatus.proto and introduced in HBASE-11059. [~jxiang] What's your suggestion about this issue? -- This message was sent by Atlassian JIRA (v6.2#6252)