public interface InstanceOperations
| Modifier and Type | Method and Description |
|---|---|
List<ActiveCompaction> |
getActiveCompactions(String tserver)
List the active compaction running on a tablet server
|
List<ActiveScan> |
getActiveScans(String tserver)
List the active scans on tablet server.
|
Map<String,String> |
getSiteConfiguration() |
Map<String,String> |
getSystemConfiguration() |
List<String> |
getTabletServers()
List the currently active tablet servers participating in the accumulo instance
|
void |
ping(String tserver)
Throws an exception if a tablet server can not be contacted.
|
void |
removeProperty(String property)
Removes a system property from zookeeper.
|
void |
setProperty(String property,
String value)
Sets an system property in zookeeper.
|
boolean |
testClassLoad(String className,
String asTypeName)
Test to see if the instance can load the given class as the given type.
|
void |
waitForBalance()
Waits for the tablet balancer to run and return no migrations.
|
void setProperty(String property, String value) throws AccumuloException, AccumuloSecurityException
getSystemConfiguration().
Only some properties can be changed by this method, an IllegalArgumentException will be thrown if a read-only property is set.
property - the name of a per-table propertyvalue - the value to set a per-table property toAccumuloException - if a general error occursAccumuloSecurityException - if the user does not have permissionvoid removeProperty(String property) throws AccumuloException, AccumuloSecurityException
getSystemConfiguration()property - the name of a per-table propertyAccumuloException - if a general error occursAccumuloSecurityException - if the user does not have permissionMap<String,String> getSystemConfiguration() throws AccumuloException, AccumuloSecurityException
AccumuloExceptionAccumuloSecurityExceptionMap<String,String> getSiteConfiguration() throws AccumuloException, AccumuloSecurityException
AccumuloExceptionAccumuloSecurityExceptionList<String> getTabletServers()
List<ActiveScan> getActiveScans(String tserver) throws AccumuloException, AccumuloSecurityException
tserver - The tablet server address should be of the form <ip address>:<port>AccumuloExceptionAccumuloSecurityExceptionList<ActiveCompaction> getActiveCompactions(String tserver) throws AccumuloException, AccumuloSecurityException
tserver - The tablet server address should be of the form <ip address>:<port>AccumuloExceptionAccumuloSecurityExceptionvoid ping(String tserver) throws AccumuloException
tserver - The tablet server address should be of the form <ip address>:<port>AccumuloExceptionboolean testClassLoad(String className, String asTypeName) throws AccumuloException, AccumuloSecurityException
TableOperations.testClassLoad(String, String, String)AccumuloExceptionAccumuloSecurityExceptionvoid waitForBalance()
throws AccumuloException
AccumuloExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.