| Constructor and Description |
|---|
BaseSolver() |
| Modifier and Type | Method and 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 © 2019 Apache Software Foundation. All Rights Reserved.