Example usage for org.apache.hadoop.mapreduce MRJobConfig MR_CLIENT_TO_AM_IPC_MAX_RETRIES

List of usage examples for org.apache.hadoop.mapreduce MRJobConfig MR_CLIENT_TO_AM_IPC_MAX_RETRIES

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce MRJobConfig MR_CLIENT_TO_AM_IPC_MAX_RETRIES.

Prototype

String MR_CLIENT_TO_AM_IPC_MAX_RETRIES

To view the source code for org.apache.hadoop.mapreduce MRJobConfig MR_CLIENT_TO_AM_IPC_MAX_RETRIES.

Click Source Link

Document

The number of client retries to the AM - before reconnecting to the RM to fetch Application State.

Usage

From source file:org.apache.tez.mapreduce.client.ClientServiceDelegate.java

License:Apache License

public ClientServiceDelegate(Configuration conf, ResourceMgrDelegate rm, JobID jobId) {
    this.conf = new TezConfiguration(conf); // Cloning for modifying.
    // For faster redirects from AM to HS.
    this.conf.setInt(CommonConfigurationKeysPublic.IPC_CLIENT_CONNECT_MAX_RETRIES_KEY, this.conf.getInt(
            MRJobConfig.MR_CLIENT_TO_AM_IPC_MAX_RETRIES, MRJobConfig.DEFAULT_MR_CLIENT_TO_AM_IPC_MAX_RETRIES));
}