accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
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

URL: http://svn.apache.org/r1482430
Log:
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/clients.tex
    accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/shell.tex

Modified: accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/administration.tex
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/administration.tex?rev=1482430&r1=1482429&r2=1482430&view=diff
==============================================================================
--- accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/administration.tex
(original)
+++ 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
 \small
 \begin{verbatim}
 $ 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
 \end{verbatim}
 \normalsize
 
@@ -74,7 +74,7 @@ and specify the following:
 \begin{enumerate}
 \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}}
 \end{enumerate}
@@ -132,21 +132,6 @@ settings between processes and helps fin
 \small
 \begin{verbatim}
 <property>
-    <name>walog</name>
-    <value>/var/accumulo/walogs</value>
-    <description>local directory for write ahead logs</description>
-</property>
-\end{verbatim}
-\normalsize
-
-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.
-
-\small
-\begin{verbatim}
-<property>
     <name>instance.secret</name>
     <value>DEFAULT</value>
 </property>
@@ -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
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex?rev=1482430&r1=1482429&r2=1482430&view=diff
==============================================================================
--- 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
 
 \small
 \begin{verbatim}
-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)
 
 writer.add(mutation);
 

Modified: accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/shell.tex
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/docs/src/main/latex/accumulo_user_manual/chapters/shell.tex?rev=1482430&r1=1482429&r2=1482430&view=diff
==============================================================================
--- 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. 
 
 root@myinstance>
 \end{verbatim}
@@ -98,8 +100,7 @@ files are consolidated and deleted entri
 \small
 \begin{verbatim}
 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
 \end{verbatim}
 \normalsize
 



Mime
View raw message