accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1482430 - in /accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters: administration.tex clients.tex shell.tex
Date Tue, 14 May 2013 16:28:02 GMT
Author: ecn
Date: Tue May 14 16:28:02 2013
New Revision: 1482430

ACCUMULO-970 updated shell responses, API preferences, more WAL updates


Modified: accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/administration.tex
--- accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/administration.tex
+++ accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/administration.tex
Tue May 14 16:28:02 2013
@@ -46,7 +46,7 @@ by the environment variable \texttt{\$AC
 $ tar xzf accumulo-assemble-1.5.0-bin.tar.gz    # unpack to subdirectory
-$ mv accumulo-assemble-1.5.0-bin $ACCUMULO_HOME # move to desired location
+$ mv accumulo-1.5.0 $ACCUMULO_HOME # move to desired location
@@ -74,7 +74,7 @@ and specify the following:
 \item{Enter the location of the installation directory of Accumulo for \texttt{\$ACCUMULO\_HOME}}
 \item{Enter your system's Java home for \texttt{\$JAVA\_HOME}}
-\item{Enter the location of Hadoop for \texttt{\$HADOOP\_HOME}}
+\item{Enter the location of Hadoop for \texttt{\$HADOOP\_PREFIX}}
 \item{Choose a location for Accumulo logs and enter it for \texttt{\$ACCUMULO\_LOG\_DIR}}
 \item{Enter the location of ZooKeeper for \texttt{\$ZOOKEEPER\_HOME}}
@@ -132,21 +132,6 @@ settings between processes and helps fin
-    <name>walog</name>
-    <value>/var/accumulo/walogs</value>
-    <description>local directory for write ahead logs</description>
-Accumulo records all changes to tables to a write-ahead log before committing
-them to the table. The `walog' setting specifies the local directory on each machine
-to which write-ahead logs are written. This directory should exist on all machines
-acting as TabletServers.
@@ -220,9 +205,8 @@ either when the tablets from the failed 
 case of a single TabletServer failure or the next time Accumulo starts, in the event of
 failure during shutdown.
-Recovery is performed by asking the loggers to copy their write-ahead logs into HDFS.
-As the logs are copied, they are also sorted, so that tablets can easily find their missing
-updates. The copy/sort status of each file is displayed on
+Recovery is performed by asking a tablet server to sort the logs so that tablets can easily
find their missing
+updates. The sort status of each file is displayed on
 Accumulo monitor status page. Once the recovery is complete any
 tablets involved should return to an ``online" state. Until then those tablets will be
 unavailable to clients.

Modified: accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
--- accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex (original)
+++ accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex Tue
May 14 16:28:02 2013
@@ -100,12 +100,12 @@ Mutations are added to a BatchWriter thu
-long memBuf = 1000000L; // bytes to store before sending a batch
-long timeout = 1000L; // milliseconds to wait before sending
-int numThreads = 10;
+BatchWriterConfig config = new BatchWriterConfig();
+config.setMaxMemory(1000000L); // bytes to store before sending a batch
+config.setMaxLatency(1000L);   // milliseconds to wait before sending
+config.maxWriteThreads(10);    // number of threads used to write to tablet servers
-BatchWriter writer =
-    conn.createBatchWriter("table", memBuf, timeout, numThreads)
+BatchWriter writer = conn.createBatchWriter("table", config)

Modified: accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/shell.tex
--- accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/shell.tex (original)
+++ accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/shell.tex Tue
May 14 16:28:02 2013
@@ -67,6 +67,8 @@ root@myinstance mytable> createtable tes
 root@myinstance testtable>
 root@myinstance testtable> deletetable testtable
+deletetable { testtable } (yes|no)? yes
+Table: [testtable] has been deleted. 
@@ -98,8 +100,7 @@ files are consolidated and deleted entri
 root@myinstance mytable> compact -t mytable
-07 16:13:53,201 [shell.Shell] INFO : Compaction of table mytable
-scheduled for 20100707161353EDT
+07 16:13:53,201 [shell.Shell] INFO : Compaction of table mytable started for given range

View raw message