[
https://issues.apache.org/jira/browse/HBASE-26054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17375059#comment-17375059
]
Andrew Kyle Purtell edited comment on HBASE-26054 at 7/5/21, 11:44 PM:
-----------------------------------------------------------------------
Someone needs to add the spot bugs annotations dependency to the operator tools
build, then this issue with the CheckForNull annotation will be resolved. There
was a POM change somewhere as cause.
We don’t want people depending on HBase POMs to transitively provide spot bugs
so this isn’t a bug per se. Definitely a valid task for maintaining operator
tools, though.
was (Author: apurtell):
Someone needs to add the spot bugs annotations dependency to the operator tools
build, then this issue with the CheckForNull annotation will be resolved. There
was a POM change somewhere as cause.
We don’t want people depending on spot bugs implicitly so this isn’t a bug per
se. Definitely a valid task for maintaining operator tools, though.
> Fix hbase-operator-tools build with HBase 2.4.4
> -----------------------------------------------
>
> Key: HBASE-26054
> URL: https://issues.apache.org/jira/browse/HBASE-26054
> Project: HBase
> Issue Type: Bug
> Components: hbase-operator-tools
> Affects Versions: hbase-operator-tools-1.2.0
> Reporter: Zach York
> Assignee: Zach York
> Priority: Minor
>
> I tried building hbase-operator-tools with HBase 2.4.4 and encountered a
> number of issues. Opening this for the fix.
> {noformat}
> [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]
> {noformat}
> The Threads change is masked by these changes, but the method is clearly
> removed in HBASE-24750
> `
--
This message was sent by Atlassian Jira
(v8.3.4#803005)