Repository: hbase
Updated Branches:
  refs/heads/0.98 1dd4a8d96 -> 53469c95e


HBASE-13433 maintain backwards compatibility for get_counter


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/53469c95
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/53469c95
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/53469c95

Branch: refs/heads/0.98
Commit: 53469c95edcec2aa8b95354011d95577d00f3fd3
Parents: 1dd4a8d
Author: Sean Busbey <[email protected]>
Authored: Wed Apr 8 15:30:04 2015 -0500
Committer: Sean Busbey <[email protected]>
Committed: Wed Apr 8 15:58:25 2015 -0500

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/shell/commands/get_counter.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/53469c95/hbase-shell/src/main/ruby/shell/commands/get_counter.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/get_counter.rb 
b/hbase-shell/src/main/ruby/shell/commands/get_counter.rb
index 6708c6a..1264fe5 100644
--- a/hbase-shell/src/main/ruby/shell/commands/get_counter.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/get_counter.rb
@@ -36,11 +36,11 @@ t to table 't1', the corresponding command would be:
 EOF
       end
 
-      def command(table, row, column)
+      def command(table, row, column, dummy = nil)
         get_counter(table(table), row, column)
       end
 
-      def get_counter(table, row, column)
+      def get_counter(table, row, column, dummy = nil)
         if cnt = table._get_counter_internal(row, column)
           puts "COUNTER VALUE = #{cnt}"
         else

Reply via email to