hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Gruben <tgru...@gmail.com>
Subject Result of postIncrement
Date Thu, 27 Mar 2014 19:01:38 GMT
 I am trying to get the value of the column I just incremented
and I can't seem to find it..

Here is a snippet of what I am trying...

for(Cell cell:result.rawCells()) {
                                byte[] result_key =
CellUtil.cloneQualifier(cell);
                                byte[] value = CellUtil.cloneValue(cell);


Bytes.toString(result_key); ///this is the correct key
 Bytes.toString(value));//value should be 1, nothing here
value // prints out B@19740a2a in the log

Anyone have any ideas?

-Todd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message