From 9a297ef0a54de736bad53de3b0b518a9eec1865c Mon Sep 17 00:00:00 2001 From: Matteo Bertozzi Date: Mon, 21 Dec 2015 13:20:26 -0800 Subject: [PATCH] HBASE-15022 replication_admin.rb throws undefined method `getZooKeeperClusterKey' for ZKUtil --- hbase-shell/src/main/ruby/hbase/replication_admin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-shell/src/main/ruby/hbase/replication_admin.rb b/hbase-shell/src/main/ruby/hbase/replication_admin.rb index 617073b6a0a..2a248298204 100644 --- a/hbase-shell/src/main/ruby/hbase/replication_admin.rb +++ b/hbase-shell/src/main/ruby/hbase/replication_admin.rb @@ -22,7 +22,7 @@ include Java java_import org.apache.hadoop.hbase.client.replication.ReplicationAdmin java_import org.apache.hadoop.hbase.replication.ReplicationPeerConfig java_import org.apache.hadoop.hbase.util.Bytes -java_import org.apache.hadoop.hbase.zookeeper.ZKUtil +java_import org.apache.hadoop.hbase.zookeeper.ZKConfig java_import org.apache.hadoop.hbase.TableName # Wrapper for org.apache.hadoop.hbase.client.replication.ReplicationAdmin @@ -62,7 +62,7 @@ module Hbase # Cluster Key is required for ReplicationPeerConfig for a custom replication endpoint if !endpoint_classname.nil? and cluster_key.nil? - cluster_key = ZKUtil.getZooKeeperClusterKey(@configuration) + cluster_key = ZKConfig.getZooKeeperClusterKey(@configuration) end # Optional parameters