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:
Michael Stack 2010-09-01 16:10:14 +00:00
parent 6b9c231dec
commit 177abe115f
1 changed files with 1 additions and 1 deletions

View File

@ -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