Repository: hbase Updated Branches: refs/heads/branch-1.0 b66df5e96 -> 2752e3cf6
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/2752e3cf Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2752e3cf Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2752e3cf Branch: refs/heads/branch-1.0 Commit: 2752e3cf61316ec362aab3b55a428650294bc007 Parents: b66df5e Author: Sean Busbey <[email protected]> Authored: Wed Apr 8 15:30:04 2015 -0500 Committer: Sean Busbey <[email protected]> Committed: Wed Apr 8 15:53:21 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/2752e3cf/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
