public static final class AMRMClient.ContainerRequest.ContainerRequestBuilder extends Object
AMRMClient.ContainerRequest
with specific
options.Constructor and Description |
---|
ContainerRequestBuilder() |
public AMRMClient.ContainerRequest.ContainerRequestBuilder capability(org.apache.hadoop.yarn.api.records.Resource capability)
public AMRMClient.ContainerRequest.ContainerRequestBuilder nodes(String[] nodes)
public AMRMClient.ContainerRequest.ContainerRequestBuilder racks(String[] racks)
public AMRMClient.ContainerRequest.ContainerRequestBuilder priority(org.apache.hadoop.yarn.api.records.Priority priority)
public AMRMClient.ContainerRequest.ContainerRequestBuilder allocationRequestId(long allocationRequestId)
public AMRMClient.ContainerRequest.ContainerRequestBuilder relaxLocality(boolean relaxLocality)
public AMRMClient.ContainerRequest.ContainerRequestBuilder nodeLabelsExpression(String nodeLabelsExpression)
public AMRMClient.ContainerRequest.ContainerRequestBuilder executionTypeRequest(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest executionTypeRequest)
public AMRMClient.ContainerRequest.ContainerRequestBuilder resourceProfile(String resourceProfile)
public AMRMClient.ContainerRequest build()
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.