Class NameNodeHAProxyFactory<T>

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.ha.NameNodeHAProxyFactory<T>
All Implemented Interfaces:
org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>

public class NameNodeHAProxyFactory<T> extends Object implements org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>
  • Constructor Details

    • NameNodeHAProxyFactory

      public NameNodeHAProxyFactory()
  • Method Details

    • createProxy

      public T createProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress nnAddr, Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries, AtomicBoolean fallbackToSimpleAuth) throws IOException
      Specified by:
      createProxy in interface org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>
      Throws:
      IOException
    • createProxy

      public T createProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress nnAddr, Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries) throws IOException
      Specified by:
      createProxy in interface org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>
      Throws:
      IOException
    • setAlignmentContext

      public void setAlignmentContext(org.apache.hadoop.ipc.AlignmentContext alignmentContext)
      Specified by:
      setAlignmentContext in interface org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>