apache/hadoop · error · NullRLESparseResourceAllocationException

Resource allocation for

Error message

Resource allocation for ${pipelineId} is null.

What it means

Estimator input validation: the RLESparseResourceAllocation (predicted resource over time) for the given pipeline is null, so there is no prediction to store or query.

Solutions

  1. Ensure resource allocation data exists for the pipeline before querying it.
Defensive patterns

Strategy: validation

When it happens

Trigger: A skyline store update/delete is invoked with a null resource allocation for the given pipeline id, failing validation.

Common situations: See trigger scenarios.


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

Appendix: source

Thrown at hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/validator/SkylineStoreValidator.java:115

    }
  }

  /**
   * 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());
      throw new NullRLESparseResourceAllocationException(sb.toString());
    }
  }
}

View on GitHub (pinned to 2add963021)