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

hbase-protocol compile failed for name conflict of RegionTransition

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

      Attachments

        1. hbase-11373.patch
          128 kB
          Jimmy Xiang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: