Increment fails on simple test

2011-02-25 Thread Sandesh Devaraju
Hi All, Surely, I'm doing something wrong here! # hbase shell 11/02/25 08:22:31 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of

Increment fails on simple test!

2011-02-25 Thread Sandesh Devaraju
Hi All, Surely, I'm doing something wrong here! # hbase shell 11/02/25 08:22:31 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of

Re: Increment fails on simple test

2011-02-25 Thread Ryan Rawson
Increment expects a long as per returned by Bytes.toBytes(long). ie: 8 bytes, big endian. you put '1' array length 1. when increment finds no value, it assumes '0'. if you want 0 based counting dont put an initial value. On Fri, Feb 25, 2011 at 12:23 AM, Sandesh Devaraju