LpSolverpublic abstract class BaseSolver
extends java.lang.Object
Solver (translate predicted resource
allocation into Hadoop's ReservationSubmissionRequest.| Constructor | Description |
|---|---|
BaseSolver() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest |
toRecurringRDL(org.apache.hadoop.yarn.api.records.Resource containerSpec,
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation containerRequests,
org.apache.hadoop.conf.Configuration config) |
Translate the estimated
Resource requirements of the pipeline to
Hadoop's ReservationSubmissionRequest. |
public final org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest toRecurringRDL(org.apache.hadoop.yarn.api.records.Resource containerSpec,
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation containerRequests,
org.apache.hadoop.conf.Configuration config)
Resource requirements of the pipeline to
Hadoop's ReservationSubmissionRequest.containerSpec - the Resource to be allocated to each
container;containerRequests - the predicted Resource to be allocated to
the job in each discrete time intervals;config - configuration file for BaseSolver.ReservationSubmissionRequest to be submitted to Hadoop to
make recurring resource reservation for the pipeline.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.