Below are properties set in accumulo-client.properties
that configure [Accumulo clients]({{ page.docs_baseurl }}/getting-started/clients#connecting). All properties have been part of the API since 2.0.0 (unless otherwise specified):
Property | Default value | Since | Description |
---|---|---|---|
instance.name | empty | Name of Accumulo instance to connect to | |
instance.zookeepers | localhost:2181 | Zookeeper connection information for Accumulo instance | |
instance.zookeepers.timeout | 30s | Zookeeper session timeout | |
auth.type | password | Authentication method (i.e password, kerberos, PasswordToken, KerberosToken, etc) | |
auth.principal | empty | Accumulo principal/username for chosen authentication method | |
auth.token | empty | Authentication token (ex. mypassword, /path/to/keytab) | |
batch.writer.durability | default | Change the durability for the BatchWriter session. To use the table‘s durability setting. use “default” which is the table’s durability setting. | |
batch.writer.max.latency.sec | 120 | Max amount of time (in seconds) to hold data in memory before flushing it | |
batch.writer.max.memory.bytes | 52428800 | Max memory (in bytes) to batch before writing | |
batch.writer.max.timeout.sec | 0 | Max amount of time (in seconds) an unresponsive server will be re-tried. An exception is thrown when this timeout is exceeded. Set to zero for no timeout. | |
batch.writer.max.write.threads | 3 | Maximum number of threads to use for writing data to tablet servers. | |
batch.scanner.num.query.threads | 3 | Number of concurrent query threads to spawn for querying | |
scanner.batch.size | 1000 | Number of key/value pairs that will be fetched at time from tablet server | |
ssl.enabled | false | Enable SSL for client RPC | |
ssl.keystore.password | empty | Password used to encrypt keystore | |
ssl.keystore.path | empty | Path to SSL keystore file | |
ssl.keystore.type | jks | Type of SSL keystore | |
ssl.truststore.password | empty | Password used to encrypt truststore | |
ssl.truststore.path | empty | Path to SSL truststore file | |
ssl.truststore.type | jks | Type of SSL truststore | |
ssl.use.jsse | false | Use JSSE system properties to configure SSL | |
sasl.enabled | false | Enable SASL for client RPC | |
sasl.kerberos.server.primary | accumulo | Kerberos principal/primary that Accumulo servers use to login | |
sasl.qop | auth | SASL quality of protection. Valid values are ‘auth’, ‘auth-int’, and ‘auth-conf’ | |
trace.span.receivers | org.apache.accumulo.tracer.ZooTraceClient | A list of span receiver classes to send trace spans | |
trace.zookeeper.path | /tracers | The zookeeper node where tracers are registered |