You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/09/02 07:54:10 UTC

[hbase-operator-tools] branch master updated: HBASE-22952 HBCK2 replication command is incompatible with 2.0.x (#20)

This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-operator-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new f1331f7  HBASE-22952 HBCK2 replication command is incompatible with 2.0.x (#20)
f1331f7 is described below

commit f1331f7133e7d9eb8041c3c1c58345fbb2dad96b
Author: Peter Somogyi <ps...@apache.org>
AuthorDate: Mon Sep 2 09:54:05 2019 +0200

    HBASE-22952 HBCK2 replication command is incompatible with 2.0.x (#20)
    
    Signed-off-by: Michael Stack <st...@apache.org>
---
 hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
index c248720..cbc6184 100644
--- a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
+++ b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
@@ -566,7 +566,7 @@ public class HBCK2 extends Configured implements org.apache.hadoop.util.Tool {
 
       case REPLICATION:
         try (ClusterConnection connection = connect()) {
-          checkHBCKSupport(connection, command);
+          checkHBCKSupport(connection, command, "2.1.1", "2.2.0", "3.0.0");
           try (ReplicationFsck replicationFsck = new ReplicationFsck(getConf())) {
             if (replicationFsck.fsck(purgeFirst(commands)) != 0) {
               return EXIT_FAILURE;