[ https://issues.apache.org/jira/browse/HBASE-10728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars George updated HBASE-10728: -------------------------------- Attachment: 0002-HBASE-10728-get_counter-value-is-never-used.patch New patch, missed the update to {{table.rb}}. Tested on console, works as expected: {noformat} HBase Shell; enter 'help<RETURN>' for list of supported commands. Type "exit<RETURN>" to leave the HBase Shell Version 2.0.0-SNAPSHOT, r7a5e6b8c0a7449fb6c6c1ca37b70753822243b83, Sat Mar 28 10:52:36 CET 2015 hbase(main):001:0> get_counter 'counters', '20150101', 'daily:hits' COUNTER VALUE = 3 hbase(main):002:0> incr 'counters', '20150101', 'daily:hits' COUNTER VALUE = 4 0 row(s) in 0.0910 seconds hbase(main):003:0> get_counter 'counters', '20150102', 'daily:hits' No counter found at specified coordinates hbase(main):004:0> incr 'counters', '20150102', 'daily:hits' COUNTER VALUE = 1 0 row(s) in 0.0920 seconds hbase(main):005:0> get_counter 'counters', '20150102', 'daily:hits' COUNTER VALUE = 1 {noformat} Should we add some tests? The Shell tests seem very _basic_ right now. > get_counter value is never used. > -------------------------------- > > Key: HBASE-10728 > URL: https://issues.apache.org/jira/browse/HBASE-10728 > Project: HBase > Issue Type: Bug > Affects Versions: 0.96.2, 0.98.1, 0.99.0 > Reporter: Jean-Marc Spaggiari > Assignee: Jean-Marc Spaggiari > Attachments: 0001-HBASE-10728-get_counter-value-is-never-used.patch, > 0002-HBASE-10728-get_counter-value-is-never-used.patch, > HBASE-10728-v0-0.96.patch, HBASE-10728-v0-0.98.patch, > HBASE-10728-v0-trunk.patch, HBASE-10728-v1-0.96.patch, > HBASE-10728-v1-0.98.patch, HBASE-10728-v1-trunk.patch, > HBASE-10728-v2-trunk.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)