From 83772176b60e5faec7338370713ccdb737880da6 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 17 Mar 2011 20:59:43 +0000 Subject: [PATCH] HBASE-3595 get_counter broken in shell git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1082691 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + src/main/ruby/hbase/table.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 6633f047620..e83ab75c393 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -41,6 +41,7 @@ Release 0.91.0 - Unreleased HBASE-3515 [replication] ReplicationSource can miss a log after RS comes out of GC HBASE-3665 tighten assertions for testBloomFilterSize + HBASE-3595 get_counter broken in shell IMPROVEMENTS HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack) diff --git a/src/main/ruby/hbase/table.rb b/src/main/ruby/hbase/table.rb index c8e0076eb9f..e19f8061282 100644 --- a/src/main/ruby/hbase/table.rb +++ b/src/main/ruby/hbase/table.rb @@ -191,7 +191,7 @@ module Hbase return nil if result.isEmpty # Fetch cell value - cell = result.list.first + cell = result.list[0] org.apache.hadoop.hbase.util.Bytes::toLong(cell.getValue) end