Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11373

hbase-protocol compile failed for name conflict of RegionTransition

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.0
    • Protobufs
    • None
    • Reviewed

    Description

      The compile of hbase-protocol failed for there are two message named RegionTransition in ZooKeeper.proto and RegionServerStatus.proto

      $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

      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.
      Jimmy Xiang
      What's your suggestion about this issue?

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jxiang Jimmy Xiang Assign to me
            liushaohui Shaohui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment