You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2014/06/18 18:40:24 UTC

[jira] [Updated] (HBASE-11373) hbase-protocol compile failed for name conflict of RegionTransition

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

Jimmy Xiang updated HBASE-11373:
--------------------------------

    Attachment: hbase-11373.patch

Attached a patch that renamed the new RegionTransition to RegionStateTransition.

> 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
>            Assignee: Jimmy Xiang
>            Priority: Minor
>         Attachments: hbase-11373.patch
>
>
> 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)