Class DefaultYarnResourceManagerClientFactory

    • Method Detail

      • createResourceManagerClient

        public 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)
        Description copied from interface: YarnResourceManagerClientFactory
        Create YARN ResourceManager client with the given callback handler.
        Specified by:
        createResourceManagerClient in interface YarnResourceManagerClientFactory
        Parameters:
        yarnHeartbeatIntervalMillis - heartbeat interval between the client and the YARN ResourceManager.
        callbackHandler - which handles the events from YARN ResourceManager.
        Returns:
        an AMRMClientAsync instance.