Hi,all.
I tried to modify the rowkey in a reduce,the operation looks like as
follows:
void reduce(ImmutableBytesWritable oldKey, Iterable<Text> values,Context
context) {
context.write(oldKey, new Delete(oldKey.get());
context.write(oldKey, new Put(newKey)); //newkey may be
equals the oldkey
}
after this operation,i found the row counts is less than before,could it be
that the put action is not granteed to be excuted after delete action ?
--
View this message in context:
http://old.nabble.com/The-row-counts-of-Htable-is-becoming-small-after-a-reduce-operation%28delete-and-put%29-tp27026768p27026768.html
Sent from the HBase User mailing list archive at Nabble.com.