apache/hadoop · error · NullResourceSkylineException
ResourceSkylines for ${recurrenceId} is null, please try aga
Error message
ResourceSkylines for ${recurrenceId} is null, please try again by specifying valid ResourceSkylines. What it means
Error "ResourceSkylines for ${recurrenceId} is null, please try again by specifying valid ResourceSkylines." thrown in apache/hadoop.
Source
Thrown at hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/validator/SkylineStoreValidator.java:96
/**
* Check if recurrenceId is <em>null</em> or resourceSkylines is
* <em>null</em>.
*
* @param recurrenceId the id of the recurring pipeline job.
* @param resourceSkylines the list of {@link ResourceSkyline}s to be added.
* @throws SkylineStoreException if input parameters are invalid.
*/
public final void validate(final RecurrenceId recurrenceId,
final List<ResourceSkyline> resourceSkylines)
throws SkylineStoreException {
validate(recurrenceId);
if (resourceSkylines == null) {
StringBuilder sb = new StringBuilder();
sb.append("ResourceSkylines for " + recurrenceId
+ " is null, please try again by "
+ "specifying valid ResourceSkylines.");
LOGGER.error(sb.toString());
throw new NullResourceSkylineException(sb.toString());
}
}
/**
* Check if pipelineId is <em>null</em> or resourceOverTime is <em>null</em>.
*
* @param pipelineId the id of the recurring pipeline.
* @param resourceOverTime predicted {@code Resource} allocation to be added.
* @throws SkylineStoreException if input parameters are invalid.
*/
public final void validate(final String pipelineId,
final RLESparseResourceAllocation resourceOverTime)
throws SkylineStoreException {
validate(pipelineId);
if (resourceOverTime == null) {
StringBuilder sb = new StringBuilder();
sb.append("Resource allocation for " + pipelineId + " is null.");
LOGGER.error(sb.toString());View on GitHub (pinned to 2add963021)
Solutions
- Supply a non-null ResourceSkylines object for the recurrence id before calling the store.
When it happens
Trigger: A skyline store operation is invoked with null resource skylines for the given recurrence id, failing validation.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/c43448a0cec8be52.
Report an issue: GitHub.