private boolean hasActiveContainerPlacementAction(String processorId) {
    Optional<ContainerPlacementMetadata> metadata = getPlacementActionMetadata(processorId);
    if (metadata.isPresent()) {
      switch (metadata.get().getActionStatus()) {
        case ACCEPTED:
        case IN_PROGRESS:
          return true;
        default:
          return false;
      }
    }
    return false;
  }
A ContainerPlacementAction is only active if it is either CREATED, ACCEPTED or IN_PROGRESS
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerManager.java