HBASE-2948 bin/hbase shell broken
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991584 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b9c231dec
commit
177abe115f
|
@ -36,7 +36,7 @@ module Hbase
|
|||
def initialize(configuration, formatter)
|
||||
@admin = HBaseAdmin.new(configuration)
|
||||
connection = @admin.getConnection()
|
||||
@zk_wrapper = connection.getZooKeeperWrapper()
|
||||
@zk_wrapper = connection.getZooKeeperWatcher()
|
||||
zk = @zk_wrapper.getZooKeeper()
|
||||
@zk_main = ZooKeeperMain.new(zk)
|
||||
@formatter = formatter
|
||||
|
|
Loading…
Reference in New Issue