Package org.apache.accumulo.harness.conf
Class StandaloneAccumuloClusterConfiguration
- java.lang.Object
-
- org.apache.accumulo.harness.conf.AccumuloClusterPropertyConfiguration
-
- org.apache.accumulo.harness.conf.StandaloneAccumuloClusterConfiguration
-
- All Implemented Interfaces:
AccumuloClusterConfiguration
public class StandaloneAccumuloClusterConfiguration extends AccumuloClusterPropertyConfiguration
Extract connection information to a standalone Accumulo instance from Java properties
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.harness.conf.AccumuloClusterPropertyConfiguration
ACCUMULO_CLUSTER_CLIENT_CONF_KEY, ACCUMULO_CLUSTER_TYPE_KEY, ACCUMULO_IT_PROPERTIES_FILE, ACCUMULO_MINI_PREFIX, ACCUMULO_STANDALONE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description StandaloneAccumuloClusterConfiguration(File clientPropsFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccumuloHome()
String
getAccumuloServerUser()
File
getAdminKeytab()
String
getAdminPrincipal()
AuthenticationToken
getAdminToken()
String
getClientAccumuloConfDir()
String
getClientCmdPrefix()
ClientInfo
getClientInfo()
File
getClientPropsFile()
AccumuloClusterHarness.ClusterType
getClusterType()
String
getHadoopConfDir()
String
getInstanceName()
String
getPassword()
String
getServerAccumuloConfDir()
String
getServerCmdPrefix()
org.apache.hadoop.fs.Path
getTmpDirectory()
List<ClusterUser>
getUsers()
String
getZooKeepers()
-
Methods inherited from class org.apache.accumulo.harness.conf.AccumuloClusterPropertyConfiguration
get, getConfiguration, loadFromProperties
-
-
-
-
Field Detail
-
ACCUMULO_STANDALONE_ADMIN_PRINCIPAL_KEY
public static final String ACCUMULO_STANDALONE_ADMIN_PRINCIPAL_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_ADMIN_PRINCIPAL_DEFAULT
public static final String ACCUMULO_STANDALONE_ADMIN_PRINCIPAL_DEFAULT
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_PASSWORD_KEY
public static final String ACCUMULO_STANDALONE_PASSWORD_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_PASSWORD_DEFAULT
public static final String ACCUMULO_STANDALONE_PASSWORD_DEFAULT
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_ADMIN_KEYTAB_KEY
public static final String ACCUMULO_STANDALONE_ADMIN_KEYTAB_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_ZOOKEEPERS_KEY
public static final String ACCUMULO_STANDALONE_ZOOKEEPERS_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_ZOOKEEPERS_DEFAULT
public static final String ACCUMULO_STANDALONE_ZOOKEEPERS_DEFAULT
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_INSTANCE_NAME_KEY
public static final String ACCUMULO_STANDALONE_INSTANCE_NAME_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_INSTANCE_NAME_DEFAULT
public static final String ACCUMULO_STANDALONE_INSTANCE_NAME_DEFAULT
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_TMP_DIR_KEY
public static final String ACCUMULO_STANDALONE_TMP_DIR_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_TMP_DIR_DEFAULT
public static final String ACCUMULO_STANDALONE_TMP_DIR_DEFAULT
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_SERVER_USER
public static final String ACCUMULO_STANDALONE_SERVER_USER
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_SERVER_USER_DEFAULT
public static final String ACCUMULO_STANDALONE_SERVER_USER_DEFAULT
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_USER_KEY
public static final String ACCUMULO_STANDALONE_USER_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_USER_KEYTABS_KEY
public static final String ACCUMULO_STANDALONE_USER_KEYTABS_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_USER_PASSWORDS_KEY
public static final String ACCUMULO_STANDALONE_USER_PASSWORDS_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_HOME
public static final String ACCUMULO_STANDALONE_HOME
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_CLIENT_CONF
public static final String ACCUMULO_STANDALONE_CLIENT_CONF
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_SERVER_CONF
public static final String ACCUMULO_STANDALONE_SERVER_CONF
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_CLIENT_CMD_PREFIX
public static final String ACCUMULO_STANDALONE_CLIENT_CMD_PREFIX
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_SERVER_CMD_PREFIX
public static final String ACCUMULO_STANDALONE_SERVER_CMD_PREFIX
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_HADOOP_CONF
public static final String ACCUMULO_STANDALONE_HADOOP_CONF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StandaloneAccumuloClusterConfiguration
public StandaloneAccumuloClusterConfiguration(File clientPropsFile)
-
-
Method Detail
-
getAdminPrincipal
public String getAdminPrincipal()
-
getClientInfo
public ClientInfo getClientInfo()
-
getPassword
public String getPassword()
-
getAdminKeytab
public File getAdminKeytab()
-
getAdminToken
public AuthenticationToken getAdminToken()
-
getZooKeepers
public String getZooKeepers()
-
getInstanceName
public String getInstanceName()
-
getClusterType
public AccumuloClusterHarness.ClusterType getClusterType()
-
getHadoopConfDir
public String getHadoopConfDir()
-
getAccumuloHome
public String getAccumuloHome()
-
getClientAccumuloConfDir
public String getClientAccumuloConfDir()
-
getServerAccumuloConfDir
public String getServerAccumuloConfDir()
-
getServerCmdPrefix
public String getServerCmdPrefix()
-
getClientCmdPrefix
public String getClientCmdPrefix()
-
getClientPropsFile
public File getClientPropsFile()
-
getTmpDirectory
public org.apache.hadoop.fs.Path getTmpDirectory()
-
getUsers
public List<ClusterUser> getUsers()
-
getAccumuloServerUser
public String getAccumuloServerUser()
- Returns:
- The user Accumulo is running as
-
-