Package org.apache.accumulo.server.util
Class AccumuloStatus
- java.lang.Object
-
- org.apache.accumulo.server.util.AccumuloStatus
-
public class AccumuloStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description AccumuloStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isAccumuloOffline(ZooReader reader, String rootPath)
Determines if there could be an accumulo instance running via zookeeper lock checking
-
-
-
Method Detail
-
isAccumuloOffline
public static boolean isAccumuloOffline(ZooReader reader, String rootPath) throws IOException
Determines if there could be an accumulo instance running via zookeeper lock checking- Returns:
- true iff all servers show no indication of being registered in zookeeper, otherwise false
- Throws:
IOException
- if there are issues connecting to ZooKeeper to determine service status
-
-