commit b07c53d9e872f4bf783dbd04ed6b52efc0055b9c Author: Todd Lipcon Date: Thu Mar 3 11:40:40 2011 -0800 HBASE-3595. Fix get_counter broken in the shell diff --git src/main/ruby/hbase/table.rb src/main/ruby/hbase/table.rb index c8e0076..e19f806 100644 --- src/main/ruby/hbase/table.rb +++ 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