Package org.apache.flink.yarn
Class DefaultYarnNodeManagerClientFactory
- java.lang.Object
-
- org.apache.flink.yarn.DefaultYarnNodeManagerClientFactory
-
- All Implemented Interfaces:
YarnNodeManagerClientFactory
public class DefaultYarnNodeManagerClientFactory extends Object implements YarnNodeManagerClientFactory
Default implementation ofYarnNodeManagerClientFactory
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.yarn.client.api.async.NMClientAsync
createNodeManagerClient(org.apache.hadoop.yarn.client.api.async.NMClientAsync.CallbackHandler callbackHandler)
Create YARN NodeManager client with the given callback handler.static YarnNodeManagerClientFactory
getInstance()
-
-
-
Method Detail
-
getInstance
public static YarnNodeManagerClientFactory getInstance()
-
createNodeManagerClient
public org.apache.hadoop.yarn.client.api.async.NMClientAsync createNodeManagerClient(org.apache.hadoop.yarn.client.api.async.NMClientAsync.CallbackHandler callbackHandler)
Description copied from interface:YarnNodeManagerClientFactory
Create YARN NodeManager client with the given callback handler.- Specified by:
createNodeManagerClient
in interfaceYarnNodeManagerClientFactory
- Parameters:
callbackHandler
- which handles the events from YARN NodeManager.- Returns:
- a
NMClientAsync
instance.
-
-