Hi We are trying to introduce the concept of cells every where in the code base where we try to treat the components of a KeyValue like row, family, qualifiers, ts and value as backed by individual byte[]. (logically).
But the KeyvalueCodec assumes the KeyValue serialization format to be applied, which means there is one byte[] backing that particular KeyValue's individual components. In case of 0.98 though a KeyValue is a Cell we tend to go with the legacy Keyvalue serialization through out the read path. In particular, the replication path as it deals with WALs the serialization pattern followed is same as KeyValue. Hence it is preferred that you go with KeyValueCodecWithTags only. Regards Ram On Mon, Apr 20, 2015 at 10:53 PM, James Estes <[email protected]> wrote: > I'm running HBase 0.98 and looking into replication. Looking at the Codecs > (those that include tags), I see KeyValueCodecWithTags > and CellCodecWithTags. Is there a reason to prefer one over the other? > > Thanks, > James >
