org.apache.hadoop.yarn.server.resourcemanager
Class RMZKUtils

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.RMZKUtils

@InterfaceAudience.Private
public class RMZKUtils
extends Object

Helper class that provides utility methods specific to ZK operations


Constructor Summary
RMZKUtils()
           
 
Method Summary
static List<org.apache.zookeeper.data.ACL> getZKAcls(org.apache.hadoop.conf.Configuration conf)
          Utility method to fetch the ZK ACLs from the configuration
static List<org.apache.hadoop.util.ZKUtil.ZKAuthInfo> getZKAuths(org.apache.hadoop.conf.Configuration conf)
          Utility method to fetch ZK auth info from the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMZKUtils

public RMZKUtils()
Method Detail

getZKAcls

public static List<org.apache.zookeeper.data.ACL> getZKAcls(org.apache.hadoop.conf.Configuration conf)
                                                     throws Exception
Utility method to fetch the ZK ACLs from the configuration

Throws:
Exception

getZKAuths

public static List<org.apache.hadoop.util.ZKUtil.ZKAuthInfo> getZKAuths(org.apache.hadoop.conf.Configuration conf)
                                                                 throws Exception
Utility method to fetch ZK auth info from the configuration

Throws:
Exception


Copyright © 2014 Apache Software Foundation. All Rights Reserved.