Class ZooUtil
- java.lang.Object
-
- org.apache.accumulo.fate.zookeeper.ZooUtil
-
- 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
DEFAULT_RETRY, PRIVATE, PUBLIC
-
-
Constructor Summary
Constructors Constructor Description ZooUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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(String instanceId)
static String
getRoot(Instance instance)
-
Methods inherited from class org.apache.accumulo.fate.zookeeper.ZooUtil
exists, getACL, getData, getLockData, getStatus, getZooKeeper, getZooKeeper, isLockHeld, putEphemeralData, putEphemeralSequential, putPersistentData, putPersistentData, putPersistentData, putPersistentSequential, putPrivatePersistentData, recursiveCopyPersistent, retryOrThrow
-
-
-
-
Method Detail
-
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)
-
-