@Override
      public boolean apply(HostRoleCommand hrc) {
        return hrc.getStatus().isFailedAndNotSkippableState();
      }
@param hostRoleCommands list of {@link HostRoleCommand}
@return list of {@link HostRoleCommand} with failed status
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/CalculatedStatus.java