*/
private byte[] claimEntry(StreamFileOffset offset, byte[] claimedStateContent) throws IOException {
ByteArrayDataOutput out = ByteStreams.newDataOutput(50);
out.writeLong(consumerConfig.getGroupId());
StreamUtils.encodeOffset(out, offset);
byte[] row = out.toByteArray();
SortedMap<byte[], byte[]> rowStates = getInitRowStates(row);
// See if the entry should be ignored. If it is in the rowStates with null value, then it should be ignored.
byte[] rowState = rowStates.get(row);