accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject [accumulo-website] branch master updated: Improve table durability docs (#131)
Date Fri, 16 Nov 2018 18:51:22 GMT
This is an automated email from the ASF dual-hosted git repository.

mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 433d384  Improve table durability docs (#131)
433d384 is described below

commit 433d38465f6758944e81478fb03492cd37e52b85
Author: Mike Walch <mwalch@apache.org>
AuthorDate: Fri Nov 16 13:51:18 2018 -0500

    Improve table durability docs (#131)
---
 _docs-2/getting-started/clients.md | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/_docs-2/getting-started/clients.md b/_docs-2/getting-started/clients.md
index ba2b44f..bda0c66 100644
--- a/_docs-2/getting-started/clients.md
+++ b/_docs-2/getting-started/clients.md
@@ -195,10 +195,17 @@ These levels are:
 
 Durability can be set in multiple ways:
 
-1. The default durability of a table can be set in the Accumulo shell
-2. When creating a [AccumuloClient], the default durability can be overridden using `withBatchWriterConfig()`
+1. The default durability of all tables can be set using [table.durability].
+    ```
+    root@uno> config -s table.durability=flush
+    ```
+2. The default durability of a table can be overriden by setting [table.durability] for that
table.
+    ```
+    root@uno> config -t mytable -s table.durability=sync
+    ```
+3. When creating a [AccumuloClient], the default durability can be overridden using `withBatchWriterConfig()`
    or by setting [batch.writer.durability] in [accumulo-client.properties].
-3. When a BatchWriter or ConditionalWriter is created, the durability settings above will
be overridden
+4. When a BatchWriter or ConditionalWriter is created, the durability settings above will
be overridden
    by the `BatchWriterConfig` that is passed in.
 
     ```java
@@ -376,3 +383,4 @@ This page covers Accumulo client basics.  Below are links to additional
document
 [reservations]: https://github.com/apache/accumulo-examples/blob/master/docs/reservations.md
 [isolation]: https://github.com/apache/accumulo-examples/blob/master/docs/isolation.md
 [accumulo-client.properties]: {% durl configuration/files#accumulo-clientproperties %}
+[table.durability]: {% purl table.durability %}


Mime
View raw message