hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject [2/3] hbase git commit: HBASE-15022 replication_admin.rb throws undefined method `getZooKeeperClusterKey' for ZKUtil
Date Mon, 21 Dec 2015 21:22:42 GMT
HBASE-15022 replication_admin.rb throws undefined method `getZooKeeperClusterKey' for ZKUtil


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/85257a25
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/85257a25
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/85257a25

Branch: refs/heads/branch-1
Commit: 85257a25282051bb2fa85ed893e308de6c5c3ff4
Parents: b82148b
Author: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Authored: Mon Dec 21 13:20:26 2015 -0800
Committer: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Committed: Mon Dec 21 13:21:31 2015 -0800

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/replication_admin.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/85257a25/hbase-shell/src/main/ruby/hbase/replication_admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/replication_admin.rb b/hbase-shell/src/main/ruby/hbase/replication_admin.rb
index 617073b..2a24829 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


Mime
View raw message