SkylineStoreInMemoryStorepublic interface PredictionSkylineStore
RLESparseResourceAllocation of a job as computed by the
Estimator based on the ResourceSkylines of past executions in
the HistorySkylineStore.| Modifier and Type | Method | Description |
|---|---|---|
void |
addEstimation(java.lang.String pipelineId,
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation resourceOverTime) |
Add job's predicted
Resource allocation to the store
indexed by the
pipelineId. |
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation |
getEstimation(java.lang.String pipelineId) |
Return the predicted
Resource allocation for the pipeline. |
void addEstimation(java.lang.String pipelineId,
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation resourceOverTime)
throws SkylineStoreException
Resource allocation to the store
indexed by the
pipelineId.
Note that right now we only keep the latest copy of predicted
Resource allocation for the recurring pipeline.
pipelineId - the id of the recurring pipeline.resourceOverTime - the predicted Resource allocation for the
pipeline.SkylineStoreException - if input parameters are invalid.org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation getEstimation(java.lang.String pipelineId)
throws SkylineStoreException
Resource allocation for the pipeline.
If the pipelineId does not exist, it will return null.
pipelineId - the unique id of the pipeline.Resource allocation for the pipeline.SkylineStoreException - if pipelineId is null.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.