Example usage for org.apache.hadoop.yarn.client.api.async.impl AMRMClientAsyncImpl AMRMClientAsyncImpl

List of usage examples for org.apache.hadoop.yarn.client.api.async.impl AMRMClientAsyncImpl AMRMClientAsyncImpl

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.client.api.async.impl AMRMClientAsyncImpl AMRMClientAsyncImpl.

Prototype

@Private
    @VisibleForTesting
    @Deprecated
    public AMRMClientAsyncImpl(AMRMClient<T> client, int intervalMs, CallbackHandler callbackHandler) 

Source Link

Usage

From source file:org.apache.samza.job.yarn.util.TestUtil.java

License:Apache License

public static AMRMClientAsyncImpl<ContainerRequest> getAMClient(final TestAMRMClientImpl amClient) {
    return new AMRMClientAsyncImpl<ContainerRequest>(amClient, 1, SamzaAppMaster$.MODULE$) {
        public TestAMRMClientImpl getClient() {
            return amClient;
        }//from w w  w .j a  va 2s .  c om
    };
}