"Error occurred while trying to clean up job %s. Failed to remove node %s from Helix. Aborting further clean up steps.",
resourceName, propStoreKey));
}
// Finally, delete the ideal state itself.
PropertyKey isKey = getISPropertyKey(accessor, resourceName);
if (!accessor.removeProperty(isKey)) {
throw new RuntimeException(String.format(
"Error occurred while trying to clean up task %s. Failed to remove node %s from Helix.",
resourceName, isKey));
}
LOG.info(String.format("Successfully cleaned up job resource %s.", resourceName));