HBASE-4171 HBase shell broken in trunk (Lars Hofhansl)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1154428 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-08-06 02:15:07 +00:00
parent d8b463d176
commit 2961f7dcd4
2 changed files with 2 additions and 1 deletions

View File

@ -189,6 +189,7 @@ Release 0.91.0 - Unreleased
(Karthick Sankarachary via garyh)
HBASE-4159 HBaseServer - IPC Reader threads are not daemons (Douglas
Campbell)
HBASE-4171 HBase shell broken in trunk (Lars Hofhansl)
IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -30,7 +30,7 @@ module Hbase
@admin = org.apache.hadoop.hbase.client.HBaseAdmin.new(configuration)
connection = @admin.getConnection()
@zk_wrapper = connection.getZooKeeperWatcher()
zk = @zk_wrapper.getZooKeeper()
zk = @zk_wrapper.getRecoverableZooKeeper().getZooKeeper()
@zk_main = org.apache.zookeeper.ZooKeeperMain.new(zk)
@formatter = formatter
end