public interface YarnResourceManagerClientFactory
AMRMClientAsync
.Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.client.api.async.AMRMClientAsync<org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest> |
createResourceManagerClient(int yarnHeartbeatIntervalMillis,
org.apache.hadoop.yarn.client.api.async.AMRMClientAsync.CallbackHandler callbackHandler)
Create YARN ResourceManager client with the given callback handler.
|
org.apache.hadoop.yarn.client.api.async.AMRMClientAsync<org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest> createResourceManagerClient(int yarnHeartbeatIntervalMillis, org.apache.hadoop.yarn.client.api.async.AMRMClientAsync.CallbackHandler callbackHandler)
yarnHeartbeatIntervalMillis
- heartbeat interval between the client and the YARN
ResourceManager.callbackHandler
- which handles the events from YARN ResourceManager.AMRMClientAsync
instance.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.