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

Fix hbase-operator-tools build with HBase 2.4.4

    XMLWordPrintableJSON

Details

    Description

      I tried building hbase-operator-tools with HBase 2.4.4 and encountered a number of issues. Opening this for the fix.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hbase-hbck2: Compilation failure: Compilation failure:
      [ERROR] /Users/zyork/workspace/apache/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCKAbstractFileStatusFilter.java:[20,39] package edu.umd.cs.findbugs.annotations does not exist
      [ERROR] /Users/zyork/workspace/apache/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCKAbstractFileStatusFilter.java:[52,46] cannot find symbol
      [ERROR]   symbol:   class CheckForNull
      [ERROR]   location: class org.apache.hbase.HBCKAbstractFileStatusFilter
      [ERROR] /Users/zyork/workspace/apache/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCKAbstractFileStatusFilter.java:[64,44] cannot find symbol
      [ERROR]   symbol:   class CheckForNull
      [ERROR]   location: class org.apache.hbase.HBCKAbstractFileStatusFilter
      [ERROR] /Users/zyork/workspace/apache/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCKAbstractFileStatusFilter.java:[68,49] cannot find symbol
      [ERROR]   symbol:   class CheckForNull
      [ERROR]   location: class org.apache.hbase.HBCKAbstractFileStatusFilter
      [ERROR] /Users/zyork/workspace/apache/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCKFsUtils.java:[367,39] cannot find symbol
      [ERROR]   symbol:   class CheckForNull
      [ERROR]   location: class org.apache.hbase.HBCKFsUtils.FamilyDirFilter
      [ERROR] /Users/zyork/workspace/apache/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCKFsUtils.java:[402,39] cannot find symbol
      [ERROR]   symbol:   class CheckForNull
      [ERROR]   location: class org.apache.hbase.HBCKFsUtils.RegionDirFilter
      [ERROR] -> [Help 1]
      

      The Threads change is masked by these changes, but the method is clearly removed in HBASE-24750
      `

      Attachments

        Issue Links

          Activity

            People

              zyork Zach York
              zyork Zach York
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: