You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2011/11/16 02:04:46 UTC

svn commit: r1202493 - in /hbase/trunk: CHANGES.txt src/main/ruby/hbase/admin.rb

Author: tedyu
Date: Wed Nov 16 01:04:45 2011
New Revision: 1202493

URL: http://svn.apache.org/viewvc?rev=1202493&view=rev
Log:
HBASE-4793  HBase shell still using deprecated methods removed in HBASE-4436

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/ruby/hbase/admin.rb

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1202493&r1=1202492&r2=1202493&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Wed Nov 16 01:04:45 2011
@@ -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

Modified: hbase/trunk/src/main/ruby/hbase/admin.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/ruby/hbase/admin.rb?rev=1202493&r1=1202492&r2=1202493&view=diff
==============================================================================
--- hbase/trunk/src/main/ruby/hbase/admin.rb (original)
+++ hbase/trunk/src/main/ruby/hbase/admin.rb Wed Nov 16 01:04:45 2011
@@ -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)