incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1244693 - in /incubator/accumulo: branches/1.4/docs/src/user_manual/appendices/ site/trunk/content/accumulo/user_manual_1.4-incubating/
Date Wed, 15 Feb 2012 20:35:39 GMT
Author: billie
Date: Wed Feb 15 20:35:38 2012
New Revision: 1244693

URL: http://svn.apache.org/viewvc?rev=1244693&view=rev
Log:
ACCUMULO-333 regenerated shell commands appendix and 1.4 web manual

Removed:
    incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/get_shell_command.sh
Modified:
    incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/get_shell_commands.sh
    incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/shell_commands.tex
    incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Accumulo_Shell.mdtext
    incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Contents.mdtext
    incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Shell_Commands.mdtext
    incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Table_Configuration.mdtext
    incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.mdtext

Modified: incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/get_shell_commands.sh
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/get_shell_commands.sh?rev=1244693&r1=1244692&r2=1244693&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/get_shell_commands.sh (original)
+++ incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/get_shell_commands.sh Wed Feb 15 20:35:38 2012
@@ -35,12 +35,7 @@ echo "% Licensed to the Apache Software 
 echo "\\chapter{Shell Commands}"
 echo
 echo "\\begin{alltt}"
-echo "help -np
-quit" | \
-../../../../bin/accumulo shell -u foo -p foo --fake | \
-#head -11 | \
-gawk 'BEGIN{count = 0}{if(count > 9 && substr($0,0,4) != "foo@"){print "\\textbf{"$1"}\n"; system("./get_shell_command.sh \""$1"\""); print "";};count += 1}' |\
-sed -e 's/_/\\_/g'
+../../../../bin/accumulo shell -u foo -p foo --fake -e "help -nw `../../../../bin/accumulo shell -u foo -p foo --fake -e "help -np -nw" | cut -d" " -f1 | perl -ne 'chomp; print; print " "'`" 2>&1 | perl -ne '$l = $_; if (/^usage: ([^ ]+)/) {print "\n\\textbf{$1}\n\n"} $l =~ s/\t/  /g; $l =~ s/  +/  /g; use Text::Wrap; $Text::Wrap::columns=89; $Text::Wrap::break="[ ]"; $Text::Wrap::unexpand=0; print wrap("    ","              ",$l);'
 echo
 echo "\\end{alltt}"
 

Modified: incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/shell_commands.tex
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/shell_commands.tex?rev=1244693&r1=1244692&r2=1244693&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/shell_commands.tex (original)
+++ incubator/accumulo/branches/1.4/docs/src/user_manual/appendices/shell_commands.tex Wed Feb 15 20:35:38 2012
@@ -16,29 +16,30 @@
 \chapter{Shell Commands}
 
 \begin{alltt}
+
 \textbf{?}
 
-    usage: ? [ <command>{ <command>} ] [-?] [-np]
+    usage: ? [ <command>{ <command>} ] [-?] [-np] [-nw]
     description: provides information about the available commands
       -?,--help  display this help
       -np,--no-pagination  disables pagination of output
+      -nw,--no-wrap  disables wrapping of output
 
 \textbf{about}
 
     usage: about [-?] [-v]
     description: displays information about this program
       -?,--help  display this help
-      -v,--verbose	displays details session information
+      -v,--verbose  displays details session information
 
 \textbf{addsplits}
 
-    usage: addsplits [<split>{ <split>} ] [-?] [-b64] [-sf <filename>] [-t
-    	      <tableName>]
+    usage: addsplits [<split>{ <split>} ] [-?] [-b64] [-sf <filename>] [-t <tableName>]
     description: add split points to an existing table
       -?,--help  display this help
-      -b64,--base64encoded	decode encoded split points
-      -sf,--splits-file <filename>	file with newline separated list of rows to add
-    	      to table
+      -b64,--base64encoded  decode encoded split points
+      -sf,--splits-file <filename>  file with newline separated list of rows to add to
+              table
       -t,--table <tableName>  name of a table to add split points to
 
 \textbf{authenticate}
@@ -68,14 +69,14 @@
 \textbf{clonetable}
 
     usage: clonetable <current table name> <new table name> [-?] [-e <arg>] [-nf] [-s
-    	      <arg>]
+              <arg>]
     description: clone a table
       -?,--help  display this help
       -e,--exclude <arg>  properties that should not be copied from source table.
-    	      Expects <prop>{,<prop>}
+              Expects <prop>{,<prop>}
       -nf,--noFlush  do not flush table data in memory before cloning.
       -s,--set <arg>  set initial properties before the table comes online. Expects
-    	      <prop>=<value>{,<prop>=<value>}
+              <prop>=<value>{,<prop>=<value>}
 
 \textbf{cls}
 
@@ -86,11 +87,11 @@
 \textbf{compact}
 
     usage: compact [-?] [-b <arg>] [-e <arg>] [-nf] [-p <pattern> | -t <tableName>] 
-    	      [-w]
+              [-w]
     description: sets all tablets for a table to major compact as soon as possible
-    	      (based on current time)
+              (based on current time)
       -?,--help  display this help
-      -b,--begin-row <arg>	begin row
+      -b,--begin-row <arg>  begin row
       -e,--end-row <arg>  end row
       -nf,--noFlush  do not flush table data in memory before compacting.
       -p,--pattern <pattern>  regex pattern of table names to flush
@@ -99,12 +100,12 @@
 
 \textbf{config}
 
-    usage: config [-?] [-d <property> | -f <string> | -s <property=value>]	[-np] 
-    	      [-t <table>]
+    usage: config [-?] [-d <property> | -f <string> | -s <property=value>]  [-np]  [-t
+              <table>]
     description: prints system properties and table specific properties
       -?,--help  display this help
       -d,--delete <property>  delete a per-table property
-      -f,--filter <string>	show only properties that contain this string
+      -f,--filter <string>  show only properties that contain this string
       -np,--no-pagination  disables pagination of output
       -s,--set <property=value>  set a per-table property
       -t,--table <table>  display/set/delete properties for specified table
@@ -112,24 +113,23 @@
 \textbf{createtable}
 
     usage: createtable <tableName> [-?] [-a
-    	      <{<columnfamily>[:<columnqualifier>]=<aggregation\_class>}>] [-b64]
-    	      [-cc <table>] [-cs <table> | -sf <filename>] [-evc] [-ndi]  [-tl |
-    	      -tm]
-    description: creates a new table, with optional aggregators and optionally
-    	      pre-split
-      -?,--help  display this help
-      -a,--aggregator <{<columnfamily>[:<columnqualifier>]=<aggregation\_class>}> 
-    	      comma separated column=aggregator
-      -b64,--base64encoded	decode encoded split points
+              <{<columnfamily>[:<columnqualifier>]=<aggregation class>}>] [-b64] [-cc
+              <table>] [-cs <table> | -sf <filename>] [-evc] [-f <className>] [-ndi] 
+              [-tl | -tm]
+    description: creates a new table, with optional aggregators and optionally pre-split
+      -?,--help  display this help
+      -a,--aggregator <{<columnfamily>[:<columnqualifier>]=<aggregation class>}>  comma
+              separated column=aggregator
+      -b64,--base64encoded  decode encoded split points
       -cc,--copy-config <table>  table to copy configuration from
       -cs,--copy-splits <table>  table to copy current splits from
-      -evc,--enable-visibility-constraint  prevents users from writing data they can
-    	      not read.  When enabling this may want to consider disabling bulk
-    	      import and alter table
-      -ndi,--no-default-iterators  prevents creation of the normal default iterator
-    	      set
-      -sf,--splits-file <filename>	file with newline separated list of rows to
-    	      create a pre-split table
+      -evc,--enable-visibility-constraint  prevents users from writing data they can not
+              read.  When enabling this may want to consider disabling bulk import and
+              alter table
+      -f,--formatter <className>  default formatter to set
+      -ndi,--no-default-iterators  prevents creation of the normal default iterator set
+      -sf,--splits-file <filename>  file with newline separated list of rows to create a
+              pre-split table
       -tl,--time-logical  use logical time
       -tm,--time-millis  use time in milliseconds
 
@@ -149,7 +149,7 @@
 \textbf{delete}
 
     usage: delete <row> <colfamily> <colqualifier> [-?] [-l <expression>] [-t
-    	      <timestamp>]
+              <timestamp>]
     description: deletes a record from a table
       -?,--help  display this help
       -l,--authorization-label <expression>  formatted authorization label expression
@@ -162,50 +162,51 @@
       -?,--help  display this help
       -majc,--major-compaction  applied at major compaction
       -minc,--minor-compaction  applied at minor compaction
-      -n,--name <itername>	iterator to delete
+      -n,--name <itername>  iterator to delete
       -scan,--scan-time  applied at scan time
       -t,--table <table>  tableName
 
 \textbf{deletemany}
 
     usage: deletemany [-?] [-b <start-row>] [-c
-    	      <{<columnfamily>[:<columnqualifier>]}>] [-e <end-row>] [-f] [-np]
-    	      [-s <comma-separated-authorizations>] [-st] [-t <table>]
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}>]
+              [-e <end-row>] [-f] [-fm <className>] [-np] [-r <row>] [-s
+              <comma-separated-authorizations>] [-st] [-t <table>]
     description: scans a table and deletes the resulting records
       -?,--help  display this help
       -b,--begin-row <start-row>  begin row (inclusive)
-      -c,--columns <{<columnfamily>[:<columnqualifier>]}>  comma-separated columns
+      -c,--columns
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}> 
+              comma-separated columns
       -e,--end-row <end-row>  end row (inclusive)
       -f,--force  forces deletion without prompting
+      -fm,--formatter <className>  fully qualified name of the formatter class to use
       -np,--no-pagination  disables pagination of output
+      -r,--row <row>  row to scan
       -s,--scan-authorizations <comma-separated-authorizations>  scan authorizations
-    	      (all user auths are used if this argument is not specified)
+              (all user auths are used if this argument is not specified)
       -st,--show-timestamps  enables displaying timestamps
       -t,--table <table>  table to be created
 
 \textbf{deleterows}
 
     usage: deleterows [-?] [-b <arg>] [-e <arg>] [-f] [-t <table>]
-    description: delete a range of rows in a table
-    Note that rows matching the start row ARE NOT deleted, but rows matching the end
-    	      row ARE deleted.
+    description: delete a range of rows in a table.  Note that rows matching the start
+              row ARE NOT deleted, but rows matching the end row ARE deleted.
       -?,--help  display this help
-      -b,--begin-row <arg>	begin row
+      -b,--begin-row <arg>  begin row
       -e,--end-row <arg>  end row
       -f,--force  delete data even if start or end are not specified
       -t,--tableName <table>  table to delete row range
 
-\textbf{Note}
-
-
 \textbf{deletescaniter}
 
     usage: deletescaniter [-?] [-a] [-n <itername>] [-t <table>]
-    description: deletes a table-specific scan iterator so it is no longer used
-    	      during this shell session
+    description: deletes a table-specific scan iterator so it is no longer used during
+              this shell session
       -?,--help  display this help
       -a,--all  delete all for tableName
-      -n,--name <itername>	iterator to delete
+      -n,--name <itername>  iterator to delete
       -t,--table <table>  tableName
 
 \textbf{deletetable}
@@ -213,7 +214,7 @@
     usage: deletetable <tableName> [-?] [-t <arg>]
     description: deletes a table
       -?,--help  display this help
-      -t,--tableName <arg>	deletes a table
+      -t,--tableName <arg>  deletes a table
 
 \textbf{deleteuser}
 
@@ -226,7 +227,7 @@
     usage: droptable <tableName> [-?] [-t <arg>]
     description: deletes a table
       -?,--help  display this help
-      -t,--tableName <arg>	deletes a table
+      -t,--tableName <arg>  deletes a table
 
 \textbf{dropuser}
 
@@ -238,30 +239,33 @@
 
     usage: du <table>{ <table>} [-?] [-p <pattern>]
     description: Prints how much space is used by files referenced by a table.  When
-    	      multiple tables are specified it prints how much space is used by
-    	      files shared between tables, if any.
+              multiple tables are specified it prints how much space is used by files
+              shared between tables, if any.
       -?,--help  display this help
       -p,--pattern <pattern>  regex pattern of table names
 
 \textbf{egrep}
 
     usage: egrep <regex>{ <regex>} [-?] [-b <start-row>] [-c
-    	      <{<columnfamily>[:<columnqualifier>]}>] [-e <end-row>] [-f <int>]
-    	      [-np] [-nt <arg>] [-s <comma-separated-authorizations>] [-st] [-t
-    	      <table>]
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}>]
+              [-e <end-row>] [-f <int>] [-fm <className>] [-np] [-nt <arg>] [-r <row>]
+              [-s <comma-separated-authorizations>] [-st] [-t <table>]
     description: searches each row, column family, column qualifier and value, in
-    	      parallel, on the server side (using a java Matcher, so put .*
-    	      before and after your term if you're not matching the whole
-    	      element)
+              parallel, on the server side (using a java Matcher, so put .* before and
+              after your term if you're not matching the whole element)
       -?,--help  display this help
       -b,--begin-row <start-row>  begin row (inclusive)
-      -c,--columns <{<columnfamily>[:<columnqualifier>]}>  comma-separated columns
+      -c,--columns
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}> 
+              comma-separated columns
       -e,--end-row <end-row>  end row (inclusive)
       -f,--show few <int>  Only shows certain amount of characters
+      -fm,--formatter <className>  fully qualified name of the formatter class to use
       -np,--no-pagination  disables pagination of output
       -nt,--num-threads <arg>  num threads
+      -r,--row <row>  row to scan
       -s,--scan-authorizations <comma-separated-authorizations>  scan authorizations
-    	      (all user auths are used if this argument is not specified)
+              (all user auths are used if this argument is not specified)
       -st,--show-timestamps  enables displaying timestamps
       -t,--tableName <table>  table to grep through
 
@@ -270,7 +274,7 @@
     usage: execfile [-?] [-v]
     description: specifies a file containing accumulo commands to execute
       -?,--help  display this help
-      -v,--verbose	displays command prompt as commands are executed
+      -v,--verbose  displays command prompt as commands are executed
 
 \textbf{exit}
 
@@ -283,7 +287,7 @@
     usage: flush [-?] [-b <arg>] [-e <arg>] [-p <pattern> | -t <tableName>]  [-w]
     description: flushes a tables data that is currently in memory to disk
       -?,--help  display this help
-      -b,--begin-row <arg>	begin row
+      -b,--begin-row <arg>  begin row
       -e,--end-row <arg>  end row
       -p,--pattern <pattern>  regex pattern of table names to flush
       -t,--table <tableName>  name of a table to flush
@@ -291,12 +295,13 @@
 
 \textbf{formatter}
 
-    usage: formatter [-?] -f <className> | -l | -r
-    description: specifies a formatter to use for displaying database entries
+    usage: formatter [-?] -f <className> | -l | -r  [-t <table>]
+    description: specifies a formatter to use for displaying table entries
       -?,--help  display this help
-      -f,--formatter <className>  fully qualified name of formatter class to use
+      -f,--formatter <className>  fully qualified name of the formatter class to use
       -l,--list  display the current formatter
-      -r,--reset  reset to default formatter
+      -r,--remove  remove the current formatter
+      -t,--table <table>  table to set the formatter on
 
 \textbf{getauths}
 
@@ -317,11 +322,11 @@
     usage: getsplits [-?] [-b64] [-m <num>] [-o <file>] [-t <table>] [-v]
     description: retrieves the current split points for tablets in the current table
       -?,--help  display this help
-      -b64,--base64encoded	encode the split points
+      -b64,--base64encoded  encode the split points
       -m,--max <num>  specifies the maximum number of splits to create
       -o,--output <file>  specifies a local file to write the splits to
       -t,--tableName <table>  table to get splits on
-      -v,--verbose	print out the tablet information with start/end rows
+      -v,--verbose  print out the tablet information with start/end rows
 
 \textbf{grant}
 
@@ -331,35 +336,40 @@
       -p,--pattern <pattern>  regex pattern of tables to grant permissions on
       -s,--system  grant a system permission
       -t,--table <table>  grant a table permission on this table
-      -u,--user <username>	user to operate on
+      -u,--user <username>  user to operate on
 
 \textbf{grep}
 
     usage: grep <term>{ <term>} [-?] [-b <start-row>] [-c
-    	      <{<columnfamily>[:<columnqualifier>]}>] [-e <end-row>] [-f <int>]
-    	      [-np] [-nt <arg>] [-s <comma-separated-authorizations>] [-st] [-t
-    	      <table>]
-    description: searches each row, column family, column qualifier and value in a
-    	      table for a substring (not a regular expression), in parallel, on
-    	      the server side
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}>]
+              [-e <end-row>] [-f <int>] [-fm <className>] [-np] [-nt <arg>] [-r <row>]
+              [-s <comma-separated-authorizations>] [-st] [-t <table>]
+    description: searches each row, column family, column qualifier and value in a table
+              for a substring (not a regular expression), in parallel, on the server
+              side
       -?,--help  display this help
       -b,--begin-row <start-row>  begin row (inclusive)
-      -c,--columns <{<columnfamily>[:<columnqualifier>]}>  comma-separated columns
+      -c,--columns
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}> 
+              comma-separated columns
       -e,--end-row <end-row>  end row (inclusive)
       -f,--show few <int>  Only shows certain amount of characters
+      -fm,--formatter <className>  fully qualified name of the formatter class to use
       -np,--no-pagination  disables pagination of output
       -nt,--num-threads <arg>  num threads
+      -r,--row <row>  row to scan
       -s,--scan-authorizations <comma-separated-authorizations>  scan authorizations
-    	      (all user auths are used if this argument is not specified)
+              (all user auths are used if this argument is not specified)
       -st,--show-timestamps  enables displaying timestamps
       -t,--tableName <table>  table to grep through
 
 \textbf{help}
 
-    usage: help [ <command>{ <command>} ] [-?] [-np]
+    usage: help [ <command>{ <command>} ] [-?] [-np] [-nw]
     description: provides information about the available commands
       -?,--help  display this help
       -np,--no-pagination  disables pagination of output
+      -nw,--no-wrap  disables wrapping of output
 
 \textbf{history}
 
@@ -371,8 +381,8 @@
 \textbf{importdirectory}
 
     usage: importdirectory <directory> <failureDirectory> true|false [-?]
-    description: bulk imports an entire directory of data files to the current table.
-    	       The boolean argument determines if accumulo sets the time.
+    description: bulk imports an entire directory of data files to the current table. 
+              The boolean argument determines if accumulo sets the time.
       -?,--help  display this help
 
 \textbf{info}
@@ -380,37 +390,48 @@
     usage: info [-?] [-v]
     description: displays information about this program
       -?,--help  display this help
-      -v,--verbose	displays details session information
+      -v,--verbose  displays details session information
 
 \textbf{insert}
 
     usage: insert <row> <colfamily> <colqualifier> <value> [-?] [-l <expression>] [-t
-    	      <timestamp>]
+              <timestamp>]
     description: inserts a record
       -?,--help  display this help
       -l,--authorization-label <expression>  formatted authorization label expression
       -t,--timestamp <timestamp>  timestamp to use for insert
 
+\textbf{listiter}
+
+    usage: listiter [-?] [-majc] [-minc] [-n <itername>] [-scan] [-t <table>]
+    description: lists table-specific iterators
+      -?,--help  display this help
+      -majc,--major-compaction  applied at major compaction
+      -minc,--minor-compaction  applied at minor compaction
+      -n,--name <itername>  iterator to delete
+      -scan,--scan-time  applied at scan time
+      -t,--table <table>  tableName
+
 \textbf{listscans}
 
     usage: listscans [-?] [-np] [-ts <tablet server>]
     description: list what scans are currently running in accumulo. See the
-    	      accumulo.core.client.admin.ActiveScan javadoc for more information
-    	      about columns.
+              accumulo.core.client.admin.ActiveScan javadoc for more information about
+              columns.
       -?,--help  display this help
       -np,--no-pagination  disables pagination of output
       -ts,--tabletServer <tablet server>  list scans for a specific tablet server
 
 \textbf{masterstate}
 
-    usage: use the command line utility instead [-?]
+    usage: masterstate is deprecated, use the command line utility instead [-?]
     description: DEPRECATED: use the command line utility instead
       -?,--help  display this help
 
 \textbf{maxrow}
 
     usage: maxrow [-?] [-b <begin-row>] [-be] [-e <end-row>] [-ee] [-s
-    	      <comma-separated-authorizations>] [-t <table>]
+              <comma-separated-authorizations>] [-t <table>]
     description: find the max row in a table within a given range
       -?,--help  display this help
       -b,--begin-row <begin-row>  begin row
@@ -418,7 +439,7 @@
       -e,--end-row <end-row>  end row
       -ee,--end-exclusive  make end row exclusive, by defaults it inclusive
       -s,--scan-authorizations <comma-separated-authorizations>  scan authorizations
-    	      (all user auths are used if this argument is not specified)
+              (all user auths are used if this argument is not specified)
       -t,--table <table>  table to be created
 
 \textbf{merge}
@@ -426,20 +447,20 @@
     usage: merge [-?] [-b <arg>] [-e <arg>] [-f] [-s <arg>] [-t <table>] [-v]
     description: merge tablets in a table
       -?,--help  display this help
-      -b,--begin-row <arg>	begin row
+      -b,--begin-row <arg>  begin row
       -e,--end-row <arg>  end row
-      -f,--force  merge small tablets to large tablets, even if it goes over the
-    	      given size
+      -f,--force  merge small tablets to large tablets, even if it goes over the given
+              size
       -s,--size <arg>  merge tablets to the given size over the entire table
       -t,--tableName <table>  table to be merged
-      -v,--verbose	verbose output during merge
+      -v,--verbose  verbose output during merge
 
 \textbf{notable}
 
     usage: notable [-?] [-t <arg>]
     description: returns to a tableless shell state
       -?,--help  display this help
-      -t,--tableName <arg>	Returns to a no table state
+      -t,--tableName <arg>  Returns to a no table state
 
 \textbf{offline}
 
@@ -483,29 +504,34 @@
       -?,--help  display this help
       -s,--system  revoke a system permission
       -t,--table <table>  revoke a table permission on this table
-      -u,--user <username>	user to operate on
+      -u,--user <username>  user to operate on
 
 \textbf{scan}
 
-    usage: scan [-?] [-b <start-row>] [-c <{<columnfamily>[:<columnqualifier>]}>] [-e
-    	      <end-row>] [-f <int>] [-np] [-s <comma-separated-authorizations>]
-    	      [-st] [-t <table>]
+    usage: scan [-?] [-b <start-row>] [-c
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}>]
+              [-e <end-row>] [-f <int>] [-fm <className>] [-np] [-r <row>] [-s
+              <comma-separated-authorizations>] [-st] [-t <table>]
     description: scans the table, and displays the resulting records
       -?,--help  display this help
       -b,--begin-row <start-row>  begin row (inclusive)
-      -c,--columns <{<columnfamily>[:<columnqualifier>]}>  comma-separated columns
+      -c,--columns
+              <<columnfamily>[:<columnqualifier>]{,<columnfamily>[:<columnqualifier>]}> 
+              comma-separated columns
       -e,--end-row <end-row>  end row (inclusive)
       -f,--show few <int>  Only shows certain amount of characters
+      -fm,--formatter <className>  fully qualified name of the formatter class to use
       -np,--no-pagination  disables pagination of output
+      -r,--row <row>  row to scan
       -s,--scan-authorizations <comma-separated-authorizations>  scan authorizations
-    	      (all user auths are used if this argument is not specified)
+              (all user auths are used if this argument is not specified)
       -st,--show-timestamps  enables displaying timestamps
       -t,--tableName <table>  table to be scanned
 
 \textbf{select}
 
     usage: select <row> <columnfamily> <columnqualifier> [-?] [-np] [-s
-    	      <comma-separated-authorizations>] [-st] [-t <table>]
+              <comma-separated-authorizations>] [-st] [-t <table>]
     description: scans for and displays a single record
       -?,--help  display this help
       -np,--no-pagination  disables pagination of output
@@ -516,7 +542,7 @@
 \textbf{selectrow}
 
     usage: selectrow <row> [-?] [-np] [-s <comma-separated-authorizations>] [-st] [-t
-    	      <table>]
+              <table>]
     description: scans a single row and displays all resulting records
       -?,--help  display this help
       -np,--no-pagination  disables pagination of output
@@ -531,22 +557,22 @@
       -?,--help  display this help
       -c,--clear-authorizations  clears the scan authorizations
       -s,--scan-authorizations <comma-separated-authorizations>  set the scan
-    	      authorizations
+              authorizations
       -u,--user <user>  user to operate on
 
 \textbf{setgroups}
 
-    usage: setgroups <group>=<col fam>{,<col fam>}{ <group>=<col fam>{,<col fam>}}
-    	      [-?] [-t <table>]
-    description: sets the locality groups for a given table (for binary or commas,
-    	      use Java API)
+    usage: setgroups <group>=<col fam>{,<col fam>}{ <group>=<col fam>{,<col fam>}} [-?]
+              [-t <table>]
+    description: sets the locality groups for a given table (for binary or commas, use
+              Java API)
       -?,--help  display this help
       -t,--table <table>  get locality groups for specified table
 
 \textbf{setiter}
 
     usage: setiter [-?] -ageoff | -agg | -class <name> | -regex | -reqvis | -vers 
-    	      [-majc] [-minc] [-n <itername>] -p <pri>	[-scan] [-t <table>]
+              [-majc] [-minc] [-n <itername>] -p <pri>  [-scan] [-t <table>]
     description: sets a table-specific iterator
       -?,--help  display this help
       -ageoff,--ageoff  an aging off type
@@ -554,27 +580,27 @@
       -class,--class-name <name>  a java class type
       -majc,--major-compaction  applied at major compaction
       -minc,--minor-compaction  applied at minor compaction
-      -n,--name <itername>	iterator to set
+      -n,--name <itername>  iterator to set
       -p,--priority <pri>  the order in which the iterator is applied
       -regex,--regular-expression  a regex matching type
-      -reqvis,--require-visibility	a type that omits entries with empty visibilities
+      -reqvis,--require-visibility  a type that omits entries with empty visibilities
       -scan,--scan-time  applied at scan time
       -t,--table <table>  tableName
       -vers,--version  a versioning type
 
 \textbf{setscaniter}
 
-    usage: setscaniter [-?] -ageoff | -agg | -class <name> | -regex | -reqvis | -vers
-    	       [-n <itername>] -p <pri>  [-t <table>]
+    usage: setscaniter [-?] -ageoff | -agg | -class <name> | -regex | -reqvis | -vers 
+              [-n <itername>] -p <pri>  [-t <table>]
     description: sets a table-specific scan iterator for this shell session
       -?,--help  display this help
       -ageoff,--ageoff  an aging off type
       -agg,--aggregator  an aggregating type
       -class,--class-name <name>  a java class type
-      -n,--name <itername>	iterator to set
+      -n,--name <itername>  iterator to set
       -p,--priority <pri>  the order in which the iterator is applied
       -regex,--regular-expression  a regex matching type
-      -reqvis,--require-visibility	a type that omits entries with empty visibilities
+      -reqvis,--require-visibility  a type that omits entries with empty visibilities
       -t,--table <table>  tableName
       -vers,--version  a versioning type
 
@@ -640,5 +666,4 @@
     description: reports the current user name
       -?,--help  display this help
 
-
 \end{alltt}

Modified: incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Accumulo_Shell.mdtext
URL: http://svn.apache.org/viewvc/incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Accumulo_Shell.mdtext?rev=1244693&r1=1244692&r2=1244693&view=diff
==============================================================================
--- incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Accumulo_Shell.mdtext (original)
+++ incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Accumulo_Shell.mdtext Wed Feb 15 20:35:38 2012
@@ -28,7 +28,7 @@ Notice:    Licensed to the Apache Softwa
 
 ## <a id=Accumulo_Shell></a> Accumulo Shell
 
-Accumulo provides a simple shell that can be used to examine the contents and configuration settings of tables, apply individual mutations, and change configuration settings. 
+Accumulo provides a simple shell that can be used to examine the contents and configuration settings of tables, insert/update/delete values, and change configuration settings. 
 
 The shell can be started by the following command: 
     
@@ -86,6 +86,8 @@ The Shell can also be used to insert upd
     row1 colf:colq [] value1
     
 
+The value in brackets "[]" would be the visibility labels. Since none were used, this is empty for this row. You can use the "-t" option to scan to see the timestamp for the cell, too. 
+
 ## <a id=Table_Maintenance></a> Table Maintenance
 
 The **compact** command instructs Accumulo to schedule a compaction of the table during which files are consolidated and deleted entries are removed. 

Modified: incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Contents.mdtext
URL: http://svn.apache.org/viewvc/incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Contents.mdtext?rev=1244693&r1=1244692&r2=1244693&view=diff
==============================================================================
--- incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Contents.mdtext (original)
+++ incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Contents.mdtext Wed Feb 15 20:35:38 2012
@@ -53,117 +53,119 @@ Notice:    Licensed to the Apache Softwa
 
 * [Writing Accumulo Clients][23]
 
-    * [Writing Data][24]
+    * [Running Client Code][24]
+    * [Connecting][25]
+    * [Writing Data][26]
 
-        * [BatchWriter][25]
+        * [BatchWriter][27]
 
-    * [Reading Data][26]
+    * [Reading Data][28]
 
-        * [Scanner][27]
-        * [Isolated Scanner][28]
-        * [BatchScanner][29]
+        * [Scanner][29]
+        * [Isolated Scanner][30]
+        * [BatchScanner][31]
 
   
 
-* [Table Configuration][30]
+* [Table Configuration][32]
 
-    * [Locality Groups][31]
+    * [Locality Groups][33]
 
-        * [Managing Locality Groups via the Shell][32]
-        * [Managing Locality Groups via the Client API][33]
+        * [Managing Locality Groups via the Shell][34]
+        * [Managing Locality Groups via the Client API][35]
 
-    * [Constraints][34]
-    * [Bloom Filters][35]
-    * [Iterators][36]
+    * [Constraints][36]
+    * [Bloom Filters][37]
+    * [Iterators][38]
 
-        * [Setting Iterators via the Shell][37]
-        * [Setting Iterators Programmatically][38]
-        * [Versioning Iterators and Timestamps][39]
-        * [Filters][40]
-        * [Combiners][41]
+        * [Setting Iterators via the Shell][39]
+        * [Setting Iterators Programmatically][40]
+        * [Versioning Iterators and Timestamps][41]
+        * [Filters][42]
+        * [Combiners][43]
 
-    * [Block Cache][42]
-    * [Compaction][43]
-    * [Pre-splitting tables][44]
-    * [Merging tablets][45]
-    * [Delete Range][46]
-    * [Cloning Tables][47]
+    * [Block Cache][44]
+    * [Compaction][45]
+    * [Pre-splitting tables][46]
+    * [Merging tablets][47]
+    * [Delete Range][48]
+    * [Cloning Tables][49]
 
   
 
-* [Table Design][48]
+* [Table Design][50]
 
-    * [Basic Table][49]
-    * [RowID Design][50]
-    * [Indexing][51]
-    * [Entity-Attribute and Graph Tables][52]
-    * [Document-Partitioned Indexing][53]
+    * [Basic Table][51]
+    * [RowID Design][52]
+    * [Indexing][53]
+    * [Entity-Attribute and Graph Tables][54]
+    * [Document-Partitioned Indexing][55]
 
   
 
-* [High-Speed Ingest][54]
+* [High-Speed Ingest][56]
 
-    * [Pre-Splitting New Tables][55]
-    * [Multiple Ingester Clients][56]
-    * [Bulk Ingest][57]
-    * [Logical Time for Bulk Ingest][58]
-    * [MapReduce Ingest][59]
+    * [Pre-Splitting New Tables][57]
+    * [Multiple Ingester Clients][58]
+    * [Bulk Ingest][59]
+    * [Logical Time for Bulk Ingest][60]
+    * [MapReduce Ingest][61]
 
   
 
-* [Analytics][60]
+* [Analytics][62]
 
-    * [MapReduce][61]
+    * [MapReduce][63]
 
-        * [Mapper and Reducer classes][62]
-        * [AccumuloInputFormat options][63]
-        * [AccumuloOutputFormat options][64]
+        * [Mapper and Reducer classes][64]
+        * [AccumuloInputFormat options][65]
+        * [AccumuloOutputFormat options][66]
 
-    * [Combiners][65]
+    * [Combiners][67]
 
-        * [Feature Vectors][66]
+        * [Feature Vectors][68]
 
-    * [Statistical Modeling][67]
+    * [Statistical Modeling][69]
 
   
 
-* [Security][68]
+* [Security][70]
 
-    * [Security Label Expressions][69]
-    * [Security Label Expression Syntax][70]
-    * [Authorization][71]
-    * [User Authorizations][72]
-    * [Secure Authorizations Handling][73]
-    * [Query Services Layer][74]
+    * [Security Label Expressions][71]
+    * [Security Label Expression Syntax][72]
+    * [Authorization][73]
+    * [User Authorizations][74]
+    * [Secure Authorizations Handling][75]
+    * [Query Services Layer][76]
 
   
 
-* [Administration][75]
+* [Administration][77]
 
-    * [Hardware][76]
-    * [Network][77]
-    * [Installation][78]
-    * [Dependencies][79]
-    * [Configuration][80]
+    * [Hardware][78]
+    * [Network][79]
+    * [Installation][80]
+    * [Dependencies][81]
+    * [Configuration][82]
 
-        * [Edit conf/accumulo-env.sh][81]
-        * [Cluster Specification][82]
-        * [Accumulo Settings][83]
-        * [Deploy Configuration][84]
+        * [Edit conf/accumulo-env.sh][83]
+        * [Cluster Specification][84]
+        * [Accumulo Settings][85]
+        * [Deploy Configuration][86]
 
-    * [Initialization][85]
-    * [Running][86]
+    * [Initialization][87]
+    * [Running][88]
 
-        * [Starting Accumulo][87]
-        * [Stopping Accumulo][88]
+        * [Starting Accumulo][89]
+        * [Stopping Accumulo][90]
 
-    * [Monitoring][89]
-    * [Logging][90]
-    * [Recovery][91]
+    * [Monitoring][91]
+    * [Logging][92]
+    * [Recovery][93]
 
   
 
-* [Shell Commands][92]
+* [Shell Commands][94]
 
   
 
@@ -190,73 +192,75 @@ Notice:    Licensed to the Apache Softwa
    [21]: Accumulo_Shell.html#Table_Maintenance
    [22]: Accumulo_Shell.html#User_Administration
    [23]: Writing_Accumulo_Clients.html
-   [24]: Writing_Accumulo_Clients.html#Writing_Data
-   [25]: Writing_Accumulo_Clients.html#BatchWriter
-   [26]: Writing_Accumulo_Clients.html#Reading_Data
-   [27]: Writing_Accumulo_Clients.html#Scanner
-   [28]: Writing_Accumulo_Clients.html#Isolated_Scanner
-   [29]: Writing_Accumulo_Clients.html#BatchScanner
-   [30]: Table_Configuration.html
-   [31]: Table_Configuration.html#Locality_Groups
-   [32]: Table_Configuration.html#Managing_Locality_Groups_via_the_Shell
-   [33]: Table_Configuration.html#Managing_Locality_Groups_via_the_Client_API
-   [34]: Table_Configuration.html#Constraints
-   [35]: Table_Configuration.html#Bloom_Filters
-   [36]: Table_Configuration.html#Iterators
-   [37]: Table_Configuration.html#Setting_Iterators_via_the_Shell
-   [38]: Table_Configuration.html#Setting_Iterators_Programmatically
-   [39]: Table_Configuration.html#Versioning_Iterators_and_Timestamps
-   [40]: Table_Configuration.html#Filters
-   [41]: Table_Configuration.html#Combiners
-   [42]: Table_Configuration.html#Block_Cache
-   [43]: Table_Configuration.html#Compaction
-   [44]: Table_Configuration.html#Pre-splitting_tables
-   [45]: Table_Configuration.html#Merging_tablets
-   [46]: Table_Configuration.html#Delete_Range
-   [47]: Table_Configuration.html#Cloning_Tables
-   [48]: Table_Design.html
-   [49]: Table_Design.html#Basic_Table
-   [50]: Table_Design.html#RowID_Design
-   [51]: Table_Design.html#Indexing
-   [52]: Table_Design.html#Entity-Attribute_and_Graph_Tables
-   [53]: Table_Design.html#Document-Partitioned_Indexing
-   [54]: High_Speed_Ingest.html
-   [55]: High_Speed_Ingest.html#Pre-Splitting_New_Tables
-   [56]: High_Speed_Ingest.html#Multiple_Ingester_Clients
-   [57]: High_Speed_Ingest.html#Bulk_Ingest
-   [58]: High_Speed_Ingest.html#Logical_Time_for_Bulk_Ingest
-   [59]: High_Speed_Ingest.html#MapReduce_Ingest
-   [60]: Analytics.html
-   [61]: Analytics.html#MapReduce
-   [62]: Analytics.html#Mapper_and_Reducer_classes
-   [63]: Analytics.html#AccumuloInputFormat_options
-   [64]: Analytics.html#AccumuloOutputFormat_options
-   [65]: Analytics.html#Combiners
-   [66]: Analytics.html#Feature_Vectors
-   [67]: Analytics.html#Statistical_Modeling
-   [68]: Security.html
-   [69]: Security.html#Security_Label_Expressions
-   [70]: Security.html#Security_Label_Expression_Syntax
-   [71]: Security.html#Authorization
-   [72]: Security.html#User_Authorizations
-   [73]: Security.html#Secure_Authorizations_Handling
-   [74]: Security.html#Query_Services_Layer
-   [75]: Administration.html
-   [76]: Administration.html#Hardware
-   [77]: Administration.html#Network
-   [78]: Administration.html#Installation
-   [79]: Administration.html#Dependencies
-   [80]: Administration.html#Configuration
-   [81]: Administration.html#Edit_conf/accumulo-env.sh
-   [82]: Administration.html#Cluster_Specification
-   [83]: Administration.html#Accumulo_Settings
-   [84]: Administration.html#Deploy_Configuration
-   [85]: Administration.html#Initialization
-   [86]: Administration.html#Running
-   [87]: Administration.html#Starting_Accumulo
-   [88]: Administration.html#Stopping_Accumulo
-   [89]: Administration.html#Monitoring
-   [90]: Administration.html#Logging
-   [91]: Administration.html#Recovery
-   [92]: Shell_Commands.html
+   [24]: Writing_Accumulo_Clients.html#Running_Client_Code
+   [25]: Writing_Accumulo_Clients.html#Connecting
+   [26]: Writing_Accumulo_Clients.html#Writing_Data
+   [27]: Writing_Accumulo_Clients.html#BatchWriter
+   [28]: Writing_Accumulo_Clients.html#Reading_Data
+   [29]: Writing_Accumulo_Clients.html#Scanner
+   [30]: Writing_Accumulo_Clients.html#Isolated_Scanner
+   [31]: Writing_Accumulo_Clients.html#BatchScanner
+   [32]: Table_Configuration.html
+   [33]: Table_Configuration.html#Locality_Groups
+   [34]: Table_Configuration.html#Managing_Locality_Groups_via_the_Shell
+   [35]: Table_Configuration.html#Managing_Locality_Groups_via_the_Client_API
+   [36]: Table_Configuration.html#Constraints
+   [37]: Table_Configuration.html#Bloom_Filters
+   [38]: Table_Configuration.html#Iterators
+   [39]: Table_Configuration.html#Setting_Iterators_via_the_Shell
+   [40]: Table_Configuration.html#Setting_Iterators_Programmatically
+   [41]: Table_Configuration.html#Versioning_Iterators_and_Timestamps
+   [42]: Table_Configuration.html#Filters
+   [43]: Table_Configuration.html#Combiners
+   [44]: Table_Configuration.html#Block_Cache
+   [45]: Table_Configuration.html#Compaction
+   [46]: Table_Configuration.html#Pre-splitting_tables
+   [47]: Table_Configuration.html#Merging_tablets
+   [48]: Table_Configuration.html#Delete_Range
+   [49]: Table_Configuration.html#Cloning_Tables
+   [50]: Table_Design.html
+   [51]: Table_Design.html#Basic_Table
+   [52]: Table_Design.html#RowID_Design
+   [53]: Table_Design.html#Indexing
+   [54]: Table_Design.html#Entity-Attribute_and_Graph_Tables
+   [55]: Table_Design.html#Document-Partitioned_Indexing
+   [56]: High_Speed_Ingest.html
+   [57]: High_Speed_Ingest.html#Pre-Splitting_New_Tables
+   [58]: High_Speed_Ingest.html#Multiple_Ingester_Clients
+   [59]: High_Speed_Ingest.html#Bulk_Ingest
+   [60]: High_Speed_Ingest.html#Logical_Time_for_Bulk_Ingest
+   [61]: High_Speed_Ingest.html#MapReduce_Ingest
+   [62]: Analytics.html
+   [63]: Analytics.html#MapReduce
+   [64]: Analytics.html#Mapper_and_Reducer_classes
+   [65]: Analytics.html#AccumuloInputFormat_options
+   [66]: Analytics.html#AccumuloOutputFormat_options
+   [67]: Analytics.html#Combiners
+   [68]: Analytics.html#Feature_Vectors
+   [69]: Analytics.html#Statistical_Modeling
+   [70]: Security.html
+   [71]: Security.html#Security_Label_Expressions
+   [72]: Security.html#Security_Label_Expression_Syntax
+   [73]: Security.html#Authorization
+   [74]: Security.html#User_Authorizations
+   [75]: Security.html#Secure_Authorizations_Handling
+   [76]: Security.html#Query_Services_Layer
+   [77]: Administration.html
+   [78]: Administration.html#Hardware
+   [79]: Administration.html#Network
+   [80]: Administration.html#Installation
+   [81]: Administration.html#Dependencies
+   [82]: Administration.html#Configuration
+   [83]: Administration.html#Edit_conf/accumulo-env.sh
+   [84]: Administration.html#Cluster_Specification
+   [85]: Administration.html#Accumulo_Settings
+   [86]: Administration.html#Deploy_Configuration
+   [87]: Administration.html#Initialization
+   [88]: Administration.html#Running
+   [89]: Administration.html#Starting_Accumulo
+   [90]: Administration.html#Stopping_Accumulo
+   [91]: Administration.html#Monitoring
+   [92]: Administration.html#Logging
+   [93]: Administration.html#Recovery
+   [94]: Shell_Commands.html
 

Modified: incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Shell_Commands.mdtext
URL: http://svn.apache.org/viewvc/incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Shell_Commands.mdtext?rev=1244693&r1=1244692&r2=1244693&view=diff
==============================================================================
--- incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Shell_Commands.mdtext (original)
+++ incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Shell_Commands.mdtext Wed Feb 15 20:35:38 2012
@@ -22,29 +22,30 @@ Notice:    Licensed to the Apache Softwa
 
 ## <a id=Shell_Commands></a> Shell Commands
 
+  
 **?**   
   
-    usage: ? [ <command> <command> ] [-?] [-np]   
+    usage: ? [ <command> <command> ] [-?] [-np] [-nw]   
     description: provides information about the available commands   
       -?,-help  display this help   
       -np,-no-pagination  disables pagination of output   
+      -nw,-no-wrap  disables wrapping of output   
   
 **about**   
   
     usage: about [-?] [-v]   
     description: displays information about this program   
       -?,-help  display this help   
-      -v,-verbose displays details session information   
+      -v,-verbose  displays details session information   
   
 **addsplits**   
   
-    usage: addsplits [<split> <split> ] [-?] [-b64] [-sf <filename>] [-t   
-           <tableName>]   
+    usage: addsplits [<split> <split> ] [-?] [-b64] [-sf <filename>] [-t <tableName>]   
     description: add split points to an existing table   
       -?,-help  display this help   
-      -b64,-base64encoded decode encoded split points   
-      -sf,-splits-file <filename> file with newline separated list of rows to add   
-           to table   
+      -b64,-base64encoded  decode encoded split points   
+      -sf,-splits-file <filename>  file with newline separated list of rows to add to   
+              table   
       -t,-table <tableName>  name of a table to add split points to   
   
 **authenticate**   
@@ -74,14 +75,14 @@ Notice:    Licensed to the Apache Softwa
 **clonetable**   
   
     usage: clonetable <current table name> <new table name> [-?] [-e <arg>] [-nf] [-s   
-           <arg>]   
+              <arg>]   
     description: clone a table   
       -?,-help  display this help   
       -e,-exclude <arg>  properties that should not be copied from source table.   
-           Expects <prop>,<prop>   
+              Expects <prop>,<prop>   
       -nf,-noFlush  do not flush table data in memory before cloning.   
       -s,-set <arg>  set initial properties before the table comes online. Expects   
-           <prop>=<value>,<prop>=<value>   
+              <prop>=<value>,<prop>=<value>   
   
 **cls**   
   
@@ -92,11 +93,11 @@ Notice:    Licensed to the Apache Softwa
 **compact**   
   
     usage: compact [-?] [-b <arg>] [-e <arg>] [-nf] [-p <pattern> | -t <tableName>]   
-           [-w]   
+              [-w]   
     description: sets all tablets for a table to major compact as soon as possible   
-           (based on current time)   
+              (based on current time)   
       -?,-help  display this help   
-      -b,-begin-row <arg> begin row   
+      -b,-begin-row <arg>  begin row   
       -e,-end-row <arg>  end row   
       -nf,-noFlush  do not flush table data in memory before compacting.   
       -p,-pattern <pattern>  regex pattern of table names to flush   
@@ -105,12 +106,12 @@ Notice:    Licensed to the Apache Softwa
   
 **config**   
   
-    usage: config [-?] [-d <property> | -f <string> | -s <property=value>] [-np]   
-           [-t <table>]   
+    usage: config [-?] [-d <property> | -f <string> | -s <property=value>]  [-np]  [-t   
+              <table>]   
     description: prints system properties and table specific properties   
       -?,-help  display this help   
       -d,-delete <property>  delete a per-table property   
-      -f,-filter <string> show only properties that contain this string   
+      -f,-filter <string>  show only properties that contain this string   
       -np,-no-pagination  disables pagination of output   
       -s,-set <property=value>  set a per-table property   
       -t,-table <table>  display/set/delete properties for specified table   
@@ -118,24 +119,23 @@ Notice:    Licensed to the Apache Softwa
 **createtable**   
   
     usage: createtable <tableName> [-?] [-a   
-           <<columnfamily>[:<columnqualifier>]=<aggregation_class>>] [-b64]   
-           [-cc <table>] [-cs <table> | -sf <filename>] [-evc] [-ndi]  [-tl |   
-           -tm]   
-    description: creates a new table, with optional aggregators and optionally   
-           pre-split   
-      -?,-help  display this help   
-      -a,-aggregator <<columnfamily>[:<columnqualifier>]=<aggregation_class>>   
-           comma separated column=aggregator   
-      -b64,-base64encoded decode encoded split points   
+              <<columnfamily>[:<columnqualifier>]=<aggregation class>>] [-b64] [-cc   
+              <table>] [-cs <table> | -sf <filename>] [-evc] [-f <className>] [-ndi]   
+              [-tl | -tm]   
+    description: creates a new table, with optional aggregators and optionally pre-split   
+      -?,-help  display this help   
+      -a,-aggregator <<columnfamily>[:<columnqualifier>]=<aggregation class>>  comma   
+              separated column=aggregator   
+      -b64,-base64encoded  decode encoded split points   
       -cc,-copy-config <table>  table to copy configuration from   
       -cs,-copy-splits <table>  table to copy current splits from   
-      -evc,-enable-visibility-constraint  prevents users from writing data they can   
-           not read.  When enabling this may want to consider disabling bulk   
-           import and alter table   
-      -ndi,-no-default-iterators  prevents creation of the normal default iterator   
-           set   
-      -sf,-splits-file <filename> file with newline separated list of rows to   
-           create a pre-split table   
+      -evc,-enable-visibility-constraint  prevents users from writing data they can not   
+              read.  When enabling this may want to consider disabling bulk import and   
+              alter table   
+      -f,-formatter <className>  default formatter to set   
+      -ndi,-no-default-iterators  prevents creation of the normal default iterator set   
+      -sf,-splits-file <filename>  file with newline separated list of rows to create a   
+              pre-split table   
       -tl,-time-logical  use logical time   
       -tm,-time-millis  use time in milliseconds   
   
@@ -155,7 +155,7 @@ Notice:    Licensed to the Apache Softwa
 **delete**   
   
     usage: delete <row> <colfamily> <colqualifier> [-?] [-l <expression>] [-t   
-           <timestamp>]   
+              <timestamp>]   
     description: deletes a record from a table   
       -?,-help  display this help   
       -l,-authorization-label <expression>  formatted authorization label expression   
@@ -168,50 +168,51 @@ Notice:    Licensed to the Apache Softwa
       -?,-help  display this help   
       -majc,-major-compaction  applied at major compaction   
       -minc,-minor-compaction  applied at minor compaction   
-      -n,-name <itername> iterator to delete   
+      -n,-name <itername>  iterator to delete   
       -scan,-scan-time  applied at scan time   
       -t,-table <table>  tableName   
   
 **deletemany**   
   
     usage: deletemany [-?] [-b <start-row>] [-c   
-           <<columnfamily>[:<columnqualifier>]>] [-e <end-row>] [-f] [-np]   
-           [-s <comma-separated-authorizations>] [-st] [-t <table>]   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>]   
+              [-e <end-row>] [-f] [-fm <className>] [-np] [-r <row>] [-s   
+              <comma-separated-authorizations>] [-st] [-t <table>]   
     description: scans a table and deletes the resulting records   
       -?,-help  display this help   
       -b,-begin-row <start-row>  begin row (inclusive)   
-      -c,-columns <<columnfamily>[:<columnqualifier>]>  comma-separated columns   
+      -c,-columns   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>   
+              comma-separated columns   
       -e,-end-row <end-row>  end row (inclusive)   
       -f,-force  forces deletion without prompting   
+      -fm,-formatter <className>  fully qualified name of the formatter class to use   
       -np,-no-pagination  disables pagination of output   
+      -r,-row <row>  row to scan   
       -s,-scan-authorizations <comma-separated-authorizations>  scan authorizations   
-           (all user auths are used if this argument is not specified)   
+              (all user auths are used if this argument is not specified)   
       -st,-show-timestamps  enables displaying timestamps   
       -t,-table <table>  table to be created   
   
 **deleterows**   
   
     usage: deleterows [-?] [-b <arg>] [-e <arg>] [-f] [-t <table>]   
-    description: delete a range of rows in a table   
-    Note that rows matching the start row ARE NOT deleted, but rows matching the end   
-           row ARE deleted.   
+    description: delete a range of rows in a table.  Note that rows matching the start   
+              row ARE NOT deleted, but rows matching the end row ARE deleted.   
       -?,-help  display this help   
-      -b,-begin-row <arg> begin row   
+      -b,-begin-row <arg>  begin row   
       -e,-end-row <arg>  end row   
       -f,-force  delete data even if start or end are not specified   
       -t,-tableName <table>  table to delete row range   
   
-**Note**   
-  
-  
 **deletescaniter**   
   
     usage: deletescaniter [-?] [-a] [-n <itername>] [-t <table>]   
-    description: deletes a table-specific scan iterator so it is no longer used   
-           during this shell session   
+    description: deletes a table-specific scan iterator so it is no longer used during   
+              this shell session   
       -?,-help  display this help   
       -a,-all  delete all for tableName   
-      -n,-name <itername> iterator to delete   
+      -n,-name <itername>  iterator to delete   
       -t,-table <table>  tableName   
   
 **deletetable**   
@@ -219,7 +220,7 @@ Notice:    Licensed to the Apache Softwa
     usage: deletetable <tableName> [-?] [-t <arg>]   
     description: deletes a table   
       -?,-help  display this help   
-      -t,-tableName <arg> deletes a table   
+      -t,-tableName <arg>  deletes a table   
   
 **deleteuser**   
   
@@ -232,7 +233,7 @@ Notice:    Licensed to the Apache Softwa
     usage: droptable <tableName> [-?] [-t <arg>]   
     description: deletes a table   
       -?,-help  display this help   
-      -t,-tableName <arg> deletes a table   
+      -t,-tableName <arg>  deletes a table   
   
 **dropuser**   
   
@@ -244,30 +245,33 @@ Notice:    Licensed to the Apache Softwa
   
     usage: du <table> <table> [-?] [-p <pattern>]   
     description: Prints how much space is used by files referenced by a table.  When   
-           multiple tables are specified it prints how much space is used by   
-           files shared between tables, if any.   
+              multiple tables are specified it prints how much space is used by files   
+              shared between tables, if any.   
       -?,-help  display this help   
       -p,-pattern <pattern>  regex pattern of table names   
   
 **egrep**   
   
     usage: egrep <regex> <regex> [-?] [-b <start-row>] [-c   
-           <<columnfamily>[:<columnqualifier>]>] [-e <end-row>] [-f <int>]   
-           [-np] [-nt <arg>] [-s <comma-separated-authorizations>] [-st] [-t   
-           <table>]   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>]   
+              [-e <end-row>] [-f <int>] [-fm <className>] [-np] [-nt <arg>] [-r <row>]   
+              [-s <comma-separated-authorizations>] [-st] [-t <table>]   
     description: searches each row, column family, column qualifier and value, in   
-           parallel, on the server side (using a java Matcher, so put .*   
-           before and after your term if you're not matching the whole   
-           element)   
+              parallel, on the server side (using a java Matcher, so put .* before and   
+              after your term if you're not matching the whole element)   
       -?,-help  display this help   
       -b,-begin-row <start-row>  begin row (inclusive)   
-      -c,-columns <<columnfamily>[:<columnqualifier>]>  comma-separated columns   
+      -c,-columns   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>   
+              comma-separated columns   
       -e,-end-row <end-row>  end row (inclusive)   
       -f,-show few <int>  Only shows certain amount of characters   
+      -fm,-formatter <className>  fully qualified name of the formatter class to use   
       -np,-no-pagination  disables pagination of output   
       -nt,-num-threads <arg>  num threads   
+      -r,-row <row>  row to scan   
       -s,-scan-authorizations <comma-separated-authorizations>  scan authorizations   
-           (all user auths are used if this argument is not specified)   
+              (all user auths are used if this argument is not specified)   
       -st,-show-timestamps  enables displaying timestamps   
       -t,-tableName <table>  table to grep through   
   
@@ -276,7 +280,7 @@ Notice:    Licensed to the Apache Softwa
     usage: execfile [-?] [-v]   
     description: specifies a file containing accumulo commands to execute   
       -?,-help  display this help   
-      -v,-verbose displays command prompt as commands are executed   
+      -v,-verbose  displays command prompt as commands are executed   
   
 **exit**   
   
@@ -289,7 +293,7 @@ Notice:    Licensed to the Apache Softwa
     usage: flush [-?] [-b <arg>] [-e <arg>] [-p <pattern> | -t <tableName>]  [-w]   
     description: flushes a tables data that is currently in memory to disk   
       -?,-help  display this help   
-      -b,-begin-row <arg> begin row   
+      -b,-begin-row <arg>  begin row   
       -e,-end-row <arg>  end row   
       -p,-pattern <pattern>  regex pattern of table names to flush   
       -t,-table <tableName>  name of a table to flush   
@@ -297,12 +301,13 @@ Notice:    Licensed to the Apache Softwa
   
 **formatter**   
   
-    usage: formatter [-?] -f <className> | -l | -r   
-    description: specifies a formatter to use for displaying database entries   
+    usage: formatter [-?] -f <className> | -l | -r  [-t <table>]   
+    description: specifies a formatter to use for displaying table entries   
       -?,-help  display this help   
-      -f,-formatter <className>  fully qualified name of formatter class to use   
+      -f,-formatter <className>  fully qualified name of the formatter class to use   
       -l,-list  display the current formatter   
-      -r,-reset  reset to default formatter   
+      -r,-remove  remove the current formatter   
+      -t,-table <table>  table to set the formatter on   
   
 **getauths**   
   
@@ -323,11 +328,11 @@ Notice:    Licensed to the Apache Softwa
     usage: getsplits [-?] [-b64] [-m <num>] [-o <file>] [-t <table>] [-v]   
     description: retrieves the current split points for tablets in the current table   
       -?,-help  display this help   
-      -b64,-base64encoded encode the split points   
+      -b64,-base64encoded  encode the split points   
       -m,-max <num>  specifies the maximum number of splits to create   
       -o,-output <file>  specifies a local file to write the splits to   
       -t,-tableName <table>  table to get splits on   
-      -v,-verbose print out the tablet information with start/end rows   
+      -v,-verbose  print out the tablet information with start/end rows   
   
 **grant**   
   
@@ -337,35 +342,40 @@ Notice:    Licensed to the Apache Softwa
       -p,-pattern <pattern>  regex pattern of tables to grant permissions on   
       -s,-system  grant a system permission   
       -t,-table <table>  grant a table permission on this table   
-      -u,-user <username> user to operate on   
+      -u,-user <username>  user to operate on   
   
 **grep**   
   
     usage: grep <term> <term> [-?] [-b <start-row>] [-c   
-           <<columnfamily>[:<columnqualifier>]>] [-e <end-row>] [-f <int>]   
-           [-np] [-nt <arg>] [-s <comma-separated-authorizations>] [-st] [-t   
-           <table>]   
-    description: searches each row, column family, column qualifier and value in a   
-           table for a substring (not a regular expression), in parallel, on   
-           the server side   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>]   
+              [-e <end-row>] [-f <int>] [-fm <className>] [-np] [-nt <arg>] [-r <row>]   
+              [-s <comma-separated-authorizations>] [-st] [-t <table>]   
+    description: searches each row, column family, column qualifier and value in a table   
+              for a substring (not a regular expression), in parallel, on the server   
+              side   
       -?,-help  display this help   
       -b,-begin-row <start-row>  begin row (inclusive)   
-      -c,-columns <<columnfamily>[:<columnqualifier>]>  comma-separated columns   
+      -c,-columns   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>   
+              comma-separated columns   
       -e,-end-row <end-row>  end row (inclusive)   
       -f,-show few <int>  Only shows certain amount of characters   
+      -fm,-formatter <className>  fully qualified name of the formatter class to use   
       -np,-no-pagination  disables pagination of output   
       -nt,-num-threads <arg>  num threads   
+      -r,-row <row>  row to scan   
       -s,-scan-authorizations <comma-separated-authorizations>  scan authorizations   
-           (all user auths are used if this argument is not specified)   
+              (all user auths are used if this argument is not specified)   
       -st,-show-timestamps  enables displaying timestamps   
       -t,-tableName <table>  table to grep through   
   
 **help**   
   
-    usage: help [ <command> <command> ] [-?] [-np]   
+    usage: help [ <command> <command> ] [-?] [-np] [-nw]   
     description: provides information about the available commands   
       -?,-help  display this help   
       -np,-no-pagination  disables pagination of output   
+      -nw,-no-wrap  disables wrapping of output   
   
 **history**   
   
@@ -378,7 +388,7 @@ Notice:    Licensed to the Apache Softwa
   
     usage: importdirectory <directory> <failureDirectory> true|false [-?]   
     description: bulk imports an entire directory of data files to the current table.   
-            The boolean argument determines if accumulo sets the time.   
+              The boolean argument determines if accumulo sets the time.   
       -?,-help  display this help   
   
 **info**   
@@ -386,37 +396,48 @@ Notice:    Licensed to the Apache Softwa
     usage: info [-?] [-v]   
     description: displays information about this program   
       -?,-help  display this help   
-      -v,-verbose displays details session information   
+      -v,-verbose  displays details session information   
   
 **insert**   
   
     usage: insert <row> <colfamily> <colqualifier> <value> [-?] [-l <expression>] [-t   
-           <timestamp>]   
+              <timestamp>]   
     description: inserts a record   
       -?,-help  display this help   
       -l,-authorization-label <expression>  formatted authorization label expression   
       -t,-timestamp <timestamp>  timestamp to use for insert   
   
+**listiter**   
+  
+    usage: listiter [-?] [-majc] [-minc] [-n <itername>] [-scan] [-t <table>]   
+    description: lists table-specific iterators   
+      -?,-help  display this help   
+      -majc,-major-compaction  applied at major compaction   
+      -minc,-minor-compaction  applied at minor compaction   
+      -n,-name <itername>  iterator to delete   
+      -scan,-scan-time  applied at scan time   
+      -t,-table <table>  tableName   
+  
 **listscans**   
   
     usage: listscans [-?] [-np] [-ts <tablet server>]   
     description: list what scans are currently running in accumulo. See the   
-           accumulo.core.client.admin.ActiveScan javadoc for more information   
-           about columns.   
+              accumulo.core.client.admin.ActiveScan javadoc for more information about   
+              columns.   
       -?,-help  display this help   
       -np,-no-pagination  disables pagination of output   
       -ts,-tabletServer <tablet server>  list scans for a specific tablet server   
   
 **masterstate**   
   
-    usage: use the command line utility instead [-?]   
+    usage: masterstate is deprecated, use the command line utility instead [-?]   
     description: DEPRECATED: use the command line utility instead   
       -?,-help  display this help   
   
 **maxrow**   
   
     usage: maxrow [-?] [-b <begin-row>] [-be] [-e <end-row>] [-ee] [-s   
-           <comma-separated-authorizations>] [-t <table>]   
+              <comma-separated-authorizations>] [-t <table>]   
     description: find the max row in a table within a given range   
       -?,-help  display this help   
       -b,-begin-row <begin-row>  begin row   
@@ -424,7 +445,7 @@ Notice:    Licensed to the Apache Softwa
       -e,-end-row <end-row>  end row   
       -ee,-end-exclusive  make end row exclusive, by defaults it inclusive   
       -s,-scan-authorizations <comma-separated-authorizations>  scan authorizations   
-           (all user auths are used if this argument is not specified)   
+              (all user auths are used if this argument is not specified)   
       -t,-table <table>  table to be created   
   
 **merge**   
@@ -432,20 +453,20 @@ Notice:    Licensed to the Apache Softwa
     usage: merge [-?] [-b <arg>] [-e <arg>] [-f] [-s <arg>] [-t <table>] [-v]   
     description: merge tablets in a table   
       -?,-help  display this help   
-      -b,-begin-row <arg> begin row   
+      -b,-begin-row <arg>  begin row   
       -e,-end-row <arg>  end row   
-      -f,-force  merge small tablets to large tablets, even if it goes over the   
-           given size   
+      -f,-force  merge small tablets to large tablets, even if it goes over the given   
+              size   
       -s,-size <arg>  merge tablets to the given size over the entire table   
       -t,-tableName <table>  table to be merged   
-      -v,-verbose verbose output during merge   
+      -v,-verbose  verbose output during merge   
   
 **notable**   
   
     usage: notable [-?] [-t <arg>]   
     description: returns to a tableless shell state   
       -?,-help  display this help   
-      -t,-tableName <arg> Returns to a no table state   
+      -t,-tableName <arg>  Returns to a no table state   
   
 **offline**   
   
@@ -489,29 +510,34 @@ Notice:    Licensed to the Apache Softwa
       -?,-help  display this help   
       -s,-system  revoke a system permission   
       -t,-table <table>  revoke a table permission on this table   
-      -u,-user <username> user to operate on   
+      -u,-user <username>  user to operate on   
   
 **scan**   
   
-    usage: scan [-?] [-b <start-row>] [-c <<columnfamily>[:<columnqualifier>]>] [-e   
-           <end-row>] [-f <int>] [-np] [-s <comma-separated-authorizations>]   
-           [-st] [-t <table>]   
+    usage: scan [-?] [-b <start-row>] [-c   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>]   
+              [-e <end-row>] [-f <int>] [-fm <className>] [-np] [-r <row>] [-s   
+              <comma-separated-authorizations>] [-st] [-t <table>]   
     description: scans the table, and displays the resulting records   
       -?,-help  display this help   
       -b,-begin-row <start-row>  begin row (inclusive)   
-      -c,-columns <<columnfamily>[:<columnqualifier>]>  comma-separated columns   
+      -c,-columns   
+              «columnfamily>[:<columnqualifier>],<columnfamily>[:<columnqualifier>]>   
+              comma-separated columns   
       -e,-end-row <end-row>  end row (inclusive)   
       -f,-show few <int>  Only shows certain amount of characters   
+      -fm,-formatter <className>  fully qualified name of the formatter class to use   
       -np,-no-pagination  disables pagination of output   
+      -r,-row <row>  row to scan   
       -s,-scan-authorizations <comma-separated-authorizations>  scan authorizations   
-           (all user auths are used if this argument is not specified)   
+              (all user auths are used if this argument is not specified)   
       -st,-show-timestamps  enables displaying timestamps   
       -t,-tableName <table>  table to be scanned   
   
 **select**   
   
     usage: select <row> <columnfamily> <columnqualifier> [-?] [-np] [-s   
-           <comma-separated-authorizations>] [-st] [-t <table>]   
+              <comma-separated-authorizations>] [-st] [-t <table>]   
     description: scans for and displays a single record   
       -?,-help  display this help   
       -np,-no-pagination  disables pagination of output   
@@ -522,7 +548,7 @@ Notice:    Licensed to the Apache Softwa
 **selectrow**   
   
     usage: selectrow <row> [-?] [-np] [-s <comma-separated-authorizations>] [-st] [-t   
-           <table>]   
+              <table>]   
     description: scans a single row and displays all resulting records   
       -?,-help  display this help   
       -np,-no-pagination  disables pagination of output   
@@ -537,22 +563,22 @@ Notice:    Licensed to the Apache Softwa
       -?,-help  display this help   
       -c,-clear-authorizations  clears the scan authorizations   
       -s,-scan-authorizations <comma-separated-authorizations>  set the scan   
-           authorizations   
+              authorizations   
       -u,-user <user>  user to operate on   
   
 **setgroups**   
   
-    usage: setgroups <group>=<col fam>,<col fam> <group>=<col fam>,<col fam>   
-           [-?] [-t <table>]   
-    description: sets the locality groups for a given table (for binary or commas,   
-           use Java API)   
+    usage: setgroups <group>=<col fam>,<col fam> <group>=<col fam>,<col fam> [-?]   
+              [-t <table>]   
+    description: sets the locality groups for a given table (for binary or commas, use   
+              Java API)   
       -?,-help  display this help   
       -t,-table <table>  get locality groups for specified table   
   
 **setiter**   
   
     usage: setiter [-?] -ageoff | -agg | -class <name> | -regex | -reqvis | -vers   
-           [-majc] [-minc] [-n <itername>] -p <pri> [-scan] [-t <table>]   
+              [-majc] [-minc] [-n <itername>] -p <pri>  [-scan] [-t <table>]   
     description: sets a table-specific iterator   
       -?,-help  display this help   
       -ageoff,-ageoff  an aging off type   
@@ -560,10 +586,10 @@ Notice:    Licensed to the Apache Softwa
       -class,-class-name <name>  a java class type   
       -majc,-major-compaction  applied at major compaction   
       -minc,-minor-compaction  applied at minor compaction   
-      -n,-name <itername> iterator to set   
+      -n,-name <itername>  iterator to set   
       -p,-priority <pri>  the order in which the iterator is applied   
       -regex,-regular-expression  a regex matching type   
-      -reqvis,-require-visibility a type that omits entries with empty visibilities   
+      -reqvis,-require-visibility  a type that omits entries with empty visibilities   
       -scan,-scan-time  applied at scan time   
       -t,-table <table>  tableName   
       -vers,-version  a versioning type   
@@ -571,16 +597,16 @@ Notice:    Licensed to the Apache Softwa
 **setscaniter**   
   
     usage: setscaniter [-?] -ageoff | -agg | -class <name> | -regex | -reqvis | -vers   
-            [-n <itername>] -p <pri>  [-t <table>]   
+              [-n <itername>] -p <pri>  [-t <table>]   
     description: sets a table-specific scan iterator for this shell session   
       -?,-help  display this help   
       -ageoff,-ageoff  an aging off type   
       -agg,-aggregator  an aggregating type   
       -class,-class-name <name>  a java class type   
-      -n,-name <itername> iterator to set   
+      -n,-name <itername>  iterator to set   
       -p,-priority <pri>  the order in which the iterator is applied   
       -regex,-regular-expression  a regex matching type   
-      -reqvis,-require-visibility a type that omits entries with empty visibilities   
+      -reqvis,-require-visibility  a type that omits entries with empty visibilities   
       -t,-table <table>  tableName   
       -vers,-version  a versioning type   
   
@@ -646,7 +672,6 @@ Notice:    Licensed to the Apache Softwa
     description: reports the current user name   
       -?,-help  display this help   
   
-  
 
 
 * * *

Modified: incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Table_Configuration.mdtext
URL: http://svn.apache.org/viewvc/incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Table_Configuration.mdtext?rev=1244693&r1=1244692&r2=1244693&view=diff
==============================================================================
--- incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Table_Configuration.mdtext (original)
+++ incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Table_Configuration.mdtext Wed Feb 15 20:35:38 2012
@@ -111,7 +111,7 @@ To deploy a new constraint, create a jar
 
 An example of constraints can be found in   
 accumulo/docs/examples/README.constraints with corresponding code under   
-accumulo/src/examples/main/java/accumulo/examples/constraints . 
+accumulo/src/examples/simple/main/java/accumulo/examples/simple/constraints . 
 
 ## <a id=Bloom_Filters></a> Bloom Filters
 
@@ -287,7 +287,7 @@ Additional Combiners can be added by cre
 **org.apache.accumulo.core.iterators.Combiner** and adding a jar containing that class to Accumulo's lib/ext directory. 
 
 An example of a Combiner can be found under   
-accumulo/src/examples/main/java/org/apache/accumulo/examples/combiner/StatsCombiner.java 
+accumulo/src/examples/simple/main/java/org/apache/accumulo/examples/simple/combiner/StatsCombiner.java 
 
 ## <a id=Block_Cache></a> Block Cache
 

Modified: incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.mdtext
URL: http://svn.apache.org/viewvc/incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.mdtext?rev=1244693&r1=1244692&r2=1244693&view=diff
==============================================================================
--- incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.mdtext (original)
+++ incubator/accumulo/site/trunk/content/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.mdtext Wed Feb 15 20:35:38 2012
@@ -20,13 +20,35 @@ Notice:    Licensed to the Apache Softwa
   
 <a id=CHILD_LINKS></a>**Subsections**
 
-* [Writing Data][9]
-* [Reading Data][10]
+* [Running Client Code][9]
+* [Connecting][10]
+* [Writing Data][11]
+* [Reading Data][12]
 
 * * *
 
 ## <a id=Writing_Accumulo_Clients></a> Writing Accumulo Clients
 
+## <a id=Running_Client_Code></a> Running Client Code
+
+There are multiple ways to run Java code that uses Accumulo. Below is a list of the different ways to execute client code. 
+
+* using java executable 
+* using the accumulo script 
+* using the tool script 
+
+Inorder to run client code written to run against Accumulo, you will need to include the jars that Accumulo depends on in your classpath. Accumulo client code depends on Hadoop and Zookeeper. For Hadoop add the hadoop core jar, all of the jars in the Hadoop lib directory, and the conf directory to the classpath. For Zookeeper 3.3 you only need to add the Zookeeper jar, and not what is in the Zookeeper lib directory. You can run the following command on a configured Accumulo system to see what its using for its classpath. 
+    
+     
+    $ACCUMULO_HOME/bin/accumulo classpath
+    
+
+Another option for running your code is to put a jar file in $ACCUMULO_HOME/lib/ext. After doing this you can use the accumulo script to execute your code. For example if you create a jar containing the class com.foo.Client and placed that in lib/ext, then you could use the command $ACCUMULO_HOME/bin/accumulo com.foo.Client to execute your code. 
+
+If you are writing map reduce job that access Accumulo, then you can use the bin/tool.sh script to run those jobs. See the map reduce example. 
+
+## <a id=Connecting></a> Connecting
+
 All clients must first identify the Accumulo instance to which they will be communicating. Code to do this is as follows: 
     
     
@@ -148,6 +170,8 @@ accumulo/docs/examples/README.batch 
    [4]: accumulo_user_manual.html
    [6]: Accumulo_Shell.html
    [8]: Contents.html
-   [9]: Writing_Accumulo_Clients.html#Writing_Data
-   [10]: Writing_Accumulo_Clients.html#Reading_Data
+   [9]: Writing_Accumulo_Clients.html#Running_Client_Code
+   [10]: Writing_Accumulo_Clients.html#Connecting
+   [11]: Writing_Accumulo_Clients.html#Writing_Data
+   [12]: Writing_Accumulo_Clients.html#Reading_Data
 



Mime
View raw message