public interface InstanceOperations
Modifier and Type | Method and Description |
---|---|
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 |
removeProperty(String property)
Removes a instance property from zookeeper
|
void |
setProperty(String property,
String value)
Sets an instance 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 setProperty(String property, String value) throws AccumuloException, AccumuloSecurityException
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
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
Map<String,String> getSiteConfiguration() throws AccumuloException, AccumuloSecurityException
List<String> getTabletServers()
List<ActiveScan> getActiveScans(String tserver) throws AccumuloException, AccumuloSecurityException
tserver
- The tablet server address should be of the form AccumuloException
AccumuloSecurityException
boolean testClassLoad(String className, String asTypeName) throws AccumuloException, AccumuloSecurityException
className
- asTypeName
- AccumuloException
AccumuloSecurityException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.