hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahsikant Jain <shahsikant.j...@gmail.com>
Subject Can we store a HBase Result object using Put
Date Mon, 21 May 2012 19:10:33 GMT
Hi,

I am trying to store a result that I got out of some scan into another
Hbase table so that I can read it back via Get and reconstruct.

This is what I am doing....

1. Result.getBytes().get() -- Get the byte[] and do a Put in HBase
2. Then do a get and read the bytes[] as
new Result(new ImmutableBytesWritable(byte[]))

Now when I try to read some value from this Result it's give me null.
Wondering what I am doing worng

Regards,
Shahsikant

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