[ 
https://issues.apache.org/jira/browse/HBASE-28375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nihal Jain updated HBASE-28375:
-------------------------------
    Component/s: hbase-operator-tools

> Build HBase Operator tool 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] 
> /Users/nihjain/code/visa/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 beaking 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 to build for it. see 
> https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/ReplicationChecker.java#L76
>  
> Since ReplicationStorageFactory is @InterfaceAudience.Private so maybe it is 
> fine. Will try to fix and make changes here to fall back to new method, in 
> case of branch-2.6 for hbase-operator-tool.
> CC: Duo Zhang 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to