apache/hadoop · error · RecurrenceIdNotFoundException

Trying to deleteHistory non-existing recurring pipeline ${r

Error message

Trying to deleteHistory non-existing recurring pipeline  ${recurrenceId}'s resource skylines

What it means

Error "Trying to deleteHistory non-existing recurring pipeline ${recurrenceId}'s resource skylines" thrown in apache/hadoop.

Source

Thrown at hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/impl/InMemoryStore.java:151

      writeLock.unlock();
    }
  }

  @Override public final void deleteHistory(final RecurrenceId recurrenceId)
      throws SkylineStoreException {
    inputValidator.validate(recurrenceId);
    writeLock.lock();
    try {
      if (skylineStore.containsKey(recurrenceId)) {
        skylineStore.remove(recurrenceId);
        LOGGER.warn("Delete resource skylines for {}.", recurrenceId);
      } else {
        StringBuilder errMsg = new StringBuilder();
        errMsg.append(
            "Trying to deleteHistory non-existing recurring pipeline  "
                + recurrenceId + "\'s resource skylines");
        LOGGER.error(errMsg.toString());
        throw new RecurrenceIdNotFoundException(errMsg.toString());
      }
    } finally {
      writeLock.unlock();
    }
  }

  @Override public final void updateHistory(final RecurrenceId recurrenceId,
      final List<ResourceSkyline> resourceSkylines)
      throws SkylineStoreException {
    inputValidator.validate(recurrenceId, resourceSkylines);
    writeLock.lock();
    try {
      if (skylineStore.containsKey(recurrenceId)) {
        // remove the null elements in the resourceSkylines
        List<ResourceSkyline> filteredInput = eliminateNull(resourceSkylines);
        if (filteredInput.size() > 0) {
          skylineStore.put(recurrenceId, filteredInput);
          LOGGER.info("Successfully updateHistory resource skylines for {}.",

View on GitHub (pinned to 2add963021)

Solutions

  1. Only delete history for recurrence ids that exist; check the recurrence id before calling deleteHistory.

When it happens

Trigger: deleteHistory is called for a recurrence id that has no stored resource skylines, so there is nothing to delete.

Common situations: See trigger scenarios.


AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22). Data as JSON: /api/errors/1ca84e48e51811a8. Report an issue: GitHub.