id_cache.put(fromBytes(row), newname); // update ID -> new name
name_cache.remove(oldname); // remove old name -> ID
// Delete the old forward mapping.
try {
final DeleteRequest old_forward_mapping = new DeleteRequest(
table, toBytes(oldname), ID_FAMILY, kind);
client.delete(old_forward_mapping).joinUninterruptibly();
} catch (HBaseException e) {
LOG.error("When trying rename(\"" + oldname
+ "\", \"" + newname + "\") on " + this + ": Failed to remove the"