throw new InvalidLayoutException(String.format(
"Reference layout ID %s does not match current layout ID %s.",
update.getReferenceLayout(), currentLayout.getDesc().getLayoutId()));
}
final TableLayoutUpdateValidator validator = new TableLayoutUpdateValidator(mKiji);
final KijiTableLayout updatedLayout =
KijiTableLayout.createUpdatedLayout(update , currentLayout);
validateCassandraTableLayout(updatedLayout.getDesc());
validator.validate(currentLayout, updatedLayout);
final TableLayoutTracker layoutTracker =
new TableLayoutTracker(mZKClient, mTableURI, mLayoutUpdateHandler).start();
try {
final UsersTracker usersTracker = ZooKeeperUtils.newTableUsersTracker(mZKClient, mTableURI);