- Type Parameters:
T -
- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.io.retry.FailoverProxyProvider<T>, org.apache.hadoop.yarn.client.RMFailoverProxyProvider<T>
public class MapRZKBasedRMFailoverProxyProvider<T>
extends java.lang.Object
implements org.apache.hadoop.yarn.client.RMFailoverProxyProvider<T>
Class implementing the MapR Zookeeper based RM Failover reconnect.
When Warden starts ResourceManager, it publishes the host:port info
in Zookeeper /services/resourcemanager/master znode. We use that info
here to connect to RM instead of trying all nodes.
When MapR's RM HA is configured, this class needs to be provided as
the value for the property yarn.client.failover-proxy-provider
in yarn-site.xml