apache/hadoop · error · RecurrenceIdNotFoundException
Trying to updateHistory non-existing resource skylines for $
Error message
Trying to updateHistory non-existing resource skylines for ${recurrenceId} What it means
Error "Trying to updateHistory non-existing resource skylines for ${recurrenceId}" thrown in apache/hadoop.
Source
Thrown at hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/impl/InMemoryStore.java:184
List<ResourceSkyline> filteredInput = eliminateNull(resourceSkylines);
if (filteredInput.size() > 0) {
skylineStore.put(recurrenceId, filteredInput);
LOGGER.info("Successfully updateHistory resource skylines for {}.",
recurrenceId);
} else {
StringBuilder errMsg = new StringBuilder();
errMsg.append("Trying to updateHistory " + recurrenceId
+ " with empty resource skyline");
LOGGER.error(errMsg.toString());
throw new EmptyResourceSkylineException(errMsg.toString());
}
} else {
StringBuilder errMsg = new StringBuilder();
errMsg.append(
"Trying to updateHistory non-existing resource skylines for "
+ recurrenceId);
LOGGER.error(errMsg.toString());
throw new RecurrenceIdNotFoundException(errMsg.toString());
}
} finally {
writeLock.unlock();
}
}
@Override public final Map<RecurrenceId, List<ResourceSkyline>> getHistory(
final RecurrenceId recurrenceId) throws SkylineStoreException {
inputValidator.validate(recurrenceId);
readLock.lock();
try {
String pipelineId = recurrenceId.getPipelineId();
// User tries to getHistory all resource skylines in the skylineStore
if (pipelineId.equals("*")) {
LOGGER
.info("Successfully query resource skylines for {}.", recurrenceId);
return Collections.unmodifiableMap(skylineStore);
}View on GitHub (pinned to 2add963021)
Solutions
- Call addHistory first for this recurrence id; updateHistory only works on existing entries.
When it happens
Trigger: updateHistory is called for a recurrence id that does not exist in the InMemorySkylineStore; addHistory must be used first.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/5b71a59b5fe1a198.
Report an issue: GitHub.