org.apache.accumulo.core.zookeeper
Class ZooUtil

java.lang.Object
  extended by org.apache.accumulo.fate.zookeeper.ZooUtil
      extended by org.apache.accumulo.core.zookeeper.ZooUtil

public class ZooUtil
extends ZooUtil


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.fate.zookeeper.ZooUtil
ZooUtil.LockID, ZooUtil.NodeExistsPolicy, ZooUtil.NodeMissingPolicy, ZooUtil.ZooKeeperConnectionInfo
 
Field Summary
 
Fields inherited from class org.apache.accumulo.fate.zookeeper.ZooUtil
PRIVATE, PUBLIC
 
Constructor Summary
ZooUtil()
           
 
Method Summary
static String getInstanceIDFromHdfs(org.apache.hadoop.fs.Path instanceDirectory, AccumuloConfiguration conf)
          Utility to support certain client side utilities to minimize command-line options.
static String getInstanceIDFromHdfs(org.apache.hadoop.fs.Path instanceDirectory, AccumuloConfiguration conf, org.apache.hadoop.conf.Configuration hadoopConf)
           
static String getRoot(Instance instance)
           
static String getRoot(String instanceId)
           
 
Methods inherited from class org.apache.accumulo.fate.zookeeper.ZooUtil
exists, getData, getLockData, getStatus, getZooKeeper, getZooKeeper, isLockHeld, putEphemeralData, putEphemeralSequential, putPersistentData, putPersistentData, putPersistentData, putPersistentSequential, putPrivatePersistentData, recursiveCopyPersistent, retryOrThrow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZooUtil

public ZooUtil()
Method Detail

getRoot

public static String getRoot(Instance instance)

getRoot

public static String getRoot(String instanceId)

getInstanceIDFromHdfs

public static String getInstanceIDFromHdfs(org.apache.hadoop.fs.Path instanceDirectory,
                                           AccumuloConfiguration conf)
Utility to support certain client side utilities to minimize command-line options.


getInstanceIDFromHdfs

public static String getInstanceIDFromHdfs(org.apache.hadoop.fs.Path instanceDirectory,
                                           AccumuloConfiguration conf,
                                           org.apache.hadoop.conf.Configuration hadoopConf)


Copyright © 2015 Apache Accumulo Project. All rights reserved.