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

branch-2.2 nightly fails "[ForOverride] Method annotated @ForOverride must have protected or package-private visibility"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.3.0, 2.1.5
    • None
    • None
    • Reviewed

    Description

      The change to use guava service happened a long time ago but we errorprone only complains now... update?

      ....
      [INFO] 97 warnings 
      [INFO] -------------------------------------------------------------
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ClusterSchemaServiceImpl.java:[60,27] error: [ForOverride] Method annotated @ForOverride must have protected or package-private visibility
          (see https://errorprone.info/bugpattern/ForOverride)
      [INFO] 1 error
      

      See https://errorprone.info/bugpattern/ForOverride

      Attachments

        1. HBASE-22298.branch-2.2.001.patch
          1 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: