[ 
https://issues.apache.org/jira/browse/HBASE-10728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-10728:
--------------------------------
    Release Note: 
for 0.98 and 1.0 changes are compatible (due to mitigation by HBASE-13433):

* The "get_counter" command no longer requires a dummy 4th argument. Downstream 
users are encouraged to migrate code to not pass this argument because it will 
result in an error for HBase 1.1+.
* The "incr" command now outputs the current value of the counter to stdout.
ex:
{code}
jruby-1.6.8 :005 > incr 'counter_example', 'r1', 'cf1:foo', 10
COUNTER VALUE = 1772
0 row(s) in 0.1180 seconds
{code}

for 1.1+ changes are incompatible:

* The "get_counter" command no longer accepts a dummy 4th argument. Downstream 
users will need to update their code to not pass this argument.
ex:
{code}
jruby-1.6.8 :006 > get_counter 'counter_example', 'r1', 'cf1:foo'
COUNTER VALUE = 1772

{code}
* The "incr" command now outputs the current value of the counter to stdout.
ex:
{code}
jruby-1.6.8 :005 > incr 'counter_example', 'r1', 'cf1:foo', 10
COUNTER VALUE = 1772
0 row(s) in 0.1180 seconds
{code}
    Hadoop Flags: Incompatible change

> 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, 1.0.0
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.12
>
>         Attachments: 
> 0001-HBASE-10728-get_counter-value-is-never-used-0.98.patch, 
> 0001-HBASE-10728-get_counter-value-is-never-used-branch-1.0.patch, 
> 0001-HBASE-10728-get_counter-value-is-never-used-branch-1.patch, 
> 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)

Reply via email to