From 1ae05e5dd3cbfe5b80b83e9dc88e3c34fb899da5 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Wed, 16 Nov 2011 01:04:45 +0000 Subject: [PATCH] HBASE-4793 HBase shell still using deprecated methods removed in HBASE-4436 git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1202493 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + src/main/ruby/hbase/admin.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index e2ed8628b0a..1052b83ec29 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -430,6 +430,7 @@ Release 0.92.0 - Unreleased HBASE-4775 Remove -ea from all but tests; enable it if you need it testing HBASE-4784 Void return types not handled correctly for CoprocessorProtocol methods + HBASE-4793 HBase shell still using deprecated methods removed in HBASE-4436 TESTS HBASE-4450 test for number of blocks read: to serve as baseline for expected diff --git a/src/main/ruby/hbase/admin.rb b/src/main/ruby/hbase/admin.rb index 17cc891ab4c..70eb149c68a 100644 --- a/src/main/ruby/hbase/admin.rb +++ b/src/main/ruby/hbase/admin.rb @@ -332,7 +332,7 @@ module Hbase # If column already exist, then try to alter it. Create otherwise. if htd.hasFamily(column_name.to_java_bytes) - @admin.modifyColumn(table_name, column_name, descriptor) + @admin.modifyColumn(table_name, descriptor) if wait == true puts "Updating all regions with the new schema..." alter_status(table_name)