Uses of Class
org.apache.accumulo.core.client.ClientConfiguration
-
Packages that use ClientConfiguration Package Description org.apache.accumulo.core.cli org.apache.accumulo.core.client org.apache.accumulo.core.client.impl org.apache.accumulo.core.client.mapred org.apache.accumulo.core.client.mapreduce org.apache.accumulo.core.client.mapreduce.lib.impl This package exists to store common helpers for configuring MapReduce jobs in a single location.org.apache.accumulo.core.rpc org.apache.accumulo.core.trace -
-
Uses of ClientConfiguration in org.apache.accumulo.core.cli
Fields in org.apache.accumulo.core.cli declared as ClientConfiguration Modifier and Type Field Description protected ClientConfiguration
ClientOpts. cachedClientConfig
Methods in org.apache.accumulo.core.cli that return ClientConfiguration Modifier and Type Method Description ClientConfiguration
ClientOpts. getClientConfiguration()
Methods in org.apache.accumulo.core.cli with parameters of type ClientConfiguration Modifier and Type Method Description void
ClientOpts. updateKerberosCredentials(ClientConfiguration clientConfig)
Automatically update the options to use a KerberosToken when SASL is enabled for RPCs. -
Uses of ClientConfiguration in org.apache.accumulo.core.client
Methods in org.apache.accumulo.core.client that return ClientConfiguration Modifier and Type Method Description static ClientConfiguration
ClientConfiguration. create()
Initializes an empty configuration object to be further configured with other methods on the class.static ClientConfiguration
ClientConfiguration. deserialize(String serializedConfig)
static ClientConfiguration
ClientConfiguration. fromFile(File file)
Initializes a configuration object from the contents of a configuration file.static ClientConfiguration
ClientConfiguration. fromMap(Map<String,String> properties)
Initializes a configuration object from the contents of a map.static ClientConfiguration
ClientConfiguration. loadDefault()
Attempts to load a configuration file from the system using the default search paths.ClientConfiguration
ClientConfiguration. with(String prop, String value)
Same assetProperty(String, String)
but returns the ClientConfiguration for chaining purposesClientConfiguration
ClientConfiguration. with(ClientConfiguration.ClientProperty prop, String value)
Same assetProperty(ClientProperty, String)
but returns the ClientConfiguration for chaining purposesClientConfiguration
ClientConfiguration. withInstance(String instanceName)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_NAMEClientConfiguration
ClientConfiguration. withInstance(UUID instanceId)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_IDClientConfiguration
ClientConfiguration. withKeystore(String path)
Same aswithKeystore(String, String, String)
with password null and type nullClientConfiguration
ClientConfiguration. withKeystore(String path, String password, String type)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_CLIENT_AUTH, ClientProperty.RPC_SSL_KEYSTORE_PATH, ClientProperty.RPC_SSL_KEYSTORE_PASSWORD, and ClientProperty.RPC_SSL_KEYSTORE_TYPEClientConfiguration
ClientConfiguration. withSasl(boolean saslEnabled)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED.ClientConfiguration
ClientConfiguration. withSasl(boolean saslEnabled, String kerberosServerPrimary)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SASL_ENABLED and ClientProperty.GENERAL_KERBEROS_PRINCIPAL.ClientConfiguration
ClientConfiguration. withSsl(boolean sslEnabled)
Same aswithSsl(boolean, boolean)
with useJsseConfig set to falseClientConfiguration
ClientConfiguration. withSsl(boolean sslEnabled, boolean useJsseConfig)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_RPC_SSL_ENABLED and ClientProperty.RPC_USE_JSSEClientConfiguration
ClientConfiguration. withTruststore(String path)
Same aswithTruststore(String)
with password null and type nullClientConfiguration
ClientConfiguration. withTruststore(String path, String password, String type)
Same aswith(ClientProperty, String)
for ClientProperty.RPC_SSL_TRUSTORE_PATH, ClientProperty.RPC_SSL_TRUSTORE_PASSWORD, and ClientProperty.RPC_SSL_TRUSTORE_TYPEClientConfiguration
ClientConfiguration. withZkHosts(String zooKeepers)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_HOSTClientConfiguration
ClientConfiguration. withZkTimeout(int timeout)
Same aswith(ClientProperty, String)
for ClientProperty.INSTANCE_ZK_TIMEOUTConstructors in org.apache.accumulo.core.client with parameters of type ClientConfiguration Constructor Description ZooKeeperInstance(ClientConfiguration config)
-
Uses of ClientConfiguration in org.apache.accumulo.core.client.impl
Constructors in org.apache.accumulo.core.client.impl with parameters of type ClientConfiguration Constructor Description ClientContext(Instance instance, Credentials credentials, ClientConfiguration clientConf)
Instantiate a client context -
Uses of ClientConfiguration in org.apache.accumulo.core.client.mapred
Methods in org.apache.accumulo.core.client.mapred that return ClientConfiguration Modifier and Type Method Description protected static ClientConfiguration
AbstractInputFormat. getClientConfiguration(org.apache.hadoop.mapred.JobConf job)
Fetch the client configuration from the job.Methods in org.apache.accumulo.core.client.mapred with parameters of type ClientConfiguration Modifier and Type Method Description static void
AbstractInputFormat. setZooKeeperInstance(org.apache.hadoop.mapred.JobConf job, ClientConfiguration clientConfig)
Configures aZooKeeperInstance
for this job.static void
AccumuloOutputFormat. setZooKeeperInstance(org.apache.hadoop.mapred.JobConf job, ClientConfiguration clientConfig)
Configures aZooKeeperInstance
for this job. -
Uses of ClientConfiguration in org.apache.accumulo.core.client.mapreduce
Methods in org.apache.accumulo.core.client.mapreduce that return ClientConfiguration Modifier and Type Method Description protected static ClientConfiguration
AbstractInputFormat. getClientConfiguration(org.apache.hadoop.mapreduce.JobContext context)
Construct theClientConfiguration
given the provided context.Methods in org.apache.accumulo.core.client.mapreduce with parameters of type ClientConfiguration Modifier and Type Method Description Instance
RangeInputSplit. getInstance(ClientConfiguration base)
static void
AbstractInputFormat. setZooKeeperInstance(org.apache.hadoop.mapreduce.Job job, ClientConfiguration clientConfig)
Configures aZooKeeperInstance
for this job.static void
AccumuloOutputFormat. setZooKeeperInstance(org.apache.hadoop.mapreduce.Job job, ClientConfiguration clientConfig)
Configures aZooKeeperInstance
for this job. -
Uses of ClientConfiguration in org.apache.accumulo.core.client.mapreduce.lib.impl
Methods in org.apache.accumulo.core.client.mapreduce.lib.impl that return ClientConfiguration Modifier and Type Method Description static ClientConfiguration
ConfiguratorBase. getClientConfiguration(Class<?> implementingClass, org.apache.hadoop.conf.Configuration conf)
Obtain aClientConfiguration
based on the configuration.Methods in org.apache.accumulo.core.client.mapreduce.lib.impl with parameters of type ClientConfiguration Modifier and Type Method Description static void
ConfiguratorBase. setZooKeeperInstance(Class<?> implementingClass, org.apache.hadoop.conf.Configuration conf, ClientConfiguration clientConfig)
Configures aZooKeeperInstance
for this job. -
Uses of ClientConfiguration in org.apache.accumulo.core.rpc
Methods in org.apache.accumulo.core.rpc with parameters of type ClientConfiguration Modifier and Type Method Description protected void
SaslConnectionParams. updateFromConfiguration(ClientConfiguration conf)
Constructors in org.apache.accumulo.core.rpc with parameters of type ClientConfiguration Constructor Description SaslConnectionParams(ClientConfiguration conf, AuthenticationToken token)
-
Uses of ClientConfiguration in org.apache.accumulo.core.trace
Methods in org.apache.accumulo.core.trace with parameters of type ClientConfiguration Modifier and Type Method Description static void
DistributedTrace. enable(String hostname, String service, ClientConfiguration conf)
Enable tracing by setting up SpanReceivers for the current process.
-