From 8053c0f4b310469a1dadfb05499185e18c551b79 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 24 Nov 2010 04:04:30 +0000 Subject: [PATCH] HBASE-3269 HBase table truncate semantics seems broken as disable table is now async by default. git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1038467 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 2 ++ src/main/ruby/hbase/admin.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 3acfc099295..394ef893dda 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -708,6 +708,8 @@ Release 0.90.0 - Unreleased HBASE-3249 Typing 'help shutdown' in the shell shouldn't shutdown the cluster HBASE-3262 TestHMasterRPCException uses non-ephemeral port for master HBASE-3272 Remove no longer used options + HBASE-3269 HBase table truncate semantics seems broken as "disable" table + is now async by default IMPROVEMENTS diff --git a/src/main/ruby/hbase/admin.rb b/src/main/ruby/hbase/admin.rb index a2f94e027e6..3c3d4847177 100644 --- a/src/main/ruby/hbase/admin.rb +++ b/src/main/ruby/hbase/admin.rb @@ -83,7 +83,7 @@ module Hbase # Disables a table def disable(table_name) return unless enabled?(table_name) - @admin.disableTableAsync(table_name) + @admin.disableTable(table_name) end #----------------------------------------------------------------------------------------------