public class ProtobufClusterServices extends AbstractClusterServices
| Constructor and Description |
|---|
ProtobufClusterServices() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.Resource |
newResource()
Create a resource for requests
|
org.apache.hadoop.yarn.api.records.Resource |
newResource(int memory,
int cores) |
normalizepublic org.apache.hadoop.yarn.api.records.Resource newResource()
AbstractClusterServicesnewResource in class AbstractClusterServicespublic org.apache.hadoop.yarn.api.records.Resource newResource(int memory,
int cores)
newResource in class AbstractClusterServicesCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.