[
https://issues.apache.org/jira/browse/HBASE-28375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on HBASE-28375 started by Nihal Jain.
------------------------------------------
> HBase Operator Tools fails to compile with hbase 2.6.0
> ------------------------------------------------------
>
> Key: HBASE-28375
> URL: https://issues.apache.org/jira/browse/HBASE-28375
> Project: HBase
> Issue Type: Bug
> Components: hbase-operator-tools
> Reporter: Nihal Jain
> Assignee: Nihal Jain
> Priority: Major
>
> HBase Operator Tools fails to compile with hbase 2.6.0.
> {code:java}
> [ERROR]
> /file_path/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/ReplicationChecker.java:[59,49]
> method getReplicationPeerStorage in class
> org.apache.hadoop.hbase.replication.ReplicationStorageFactory cannot be
> applied to given types;
> [ERROR] required:
> org.apache.hadoop.fs.FileSystem,org.apache.hadoop.hbase.zookeeper.ZKWatcher,org.apache.hadoop.conf.Configuration
> [ERROR] found:
> org.apache.hadoop.hbase.zookeeper.ZKWatcher,org.apache.hadoop.conf.Configuration
> [ERROR] reason: actual and formal argument lists differ in length {code}
> Seems there is a breaking change between
> [https://github.com/apache/hbase/blob/branch-2.5/hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationStorageFactory.java]
> vs
> [https://github.com/apache/hbase/blob/branch-2.6/hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationStorageFactory.java]
> where a public method has been dropped, which is used by operator tools and
> hence the build will fail for it. See
> [https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/ReplicationChecker.java#L58]
> where the effected method is invoked.
> Since ReplicationStorageFactory is @InterfaceAudience.Private so maybe it is
> fine.
> Will try to fix and make changes in hbase-operator-tools to fall back to new
> method, in case if build with branch-2.6
> CC: [~zhangduo]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)