private void updateContainerPlacementActionStatus(ContainerPlacementMetadata metadata,
      ContainerPlacementMessage.StatusCode statusCode, String responseMessage) {
    metadata.setActionStatus(statusCode, responseMessage);
    writeContainerPlacementResponseMessage(metadata.getRequestMessage(), statusCode, responseMessage);
    LOG.info("Status updated for ContainerPlacement action: {}", metadata);
  }
Check if a activeContainerResource has control-action-metadata associated with it
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerManager.java