accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1333191 - in /accumulo/trunk: ./ core/ docs/examples/README.dirlist server/ src/
Date Wed, 02 May 2012 20:48:04 GMT
Author: ecn
Date: Wed May  2 20:48:04 2012
New Revision: 1333191

URL: http://svn.apache.org/viewvc?rev=1333191&view=rev
Log:
ACCUMULO-570 merge to trunk

Modified:
    accumulo/trunk/   (props changed)
    accumulo/trunk/core/   (props changed)
    accumulo/trunk/docs/examples/README.dirlist
    accumulo/trunk/server/   (props changed)
    accumulo/trunk/src/   (props changed)

Propchange: accumulo/trunk/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.4:r1333190

Propchange: accumulo/trunk/core/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.4/core:r1333190

Modified: accumulo/trunk/docs/examples/README.dirlist
URL: http://svn.apache.org/viewvc/accumulo/trunk/docs/examples/README.dirlist?rev=1333191&r1=1333190&r2=1333191&view=diff
==============================================================================
--- accumulo/trunk/docs/examples/README.dirlist (original)
+++ accumulo/trunk/docs/examples/README.dirlist Wed May  2 20:48:04 2012
@@ -37,14 +37,18 @@ This may take some time if there are lar
 Note that running this example will create tables dirTable, indexTable, and dataTable in
Accumulo that you should delete when you have completed the example.
 If you modify a file or add new files in the directory ingested (e.g. /local/username/workspace),
you can run Ingest again to add new information into the Accumulo tables.
 
-To browse the data ingested, use Viewer.java.  Be sure to give the "username" user the authorizations
to see the data (in this case, run "setauths -u username -s exampleVis" in the shell, and
use the string "exampleVis" as the "auths" in command lines below).
+To browse the data ingested, use Viewer.java.  Be sure to give the "username" user the authorizations
to see the data (in this case, run
 
-    $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.Viewer instance zookeepers
username password dirTable dataTable auths /local/username/workspace
+    $ ./bin/accumulo shell -u root -e 'setauths -u username -s exampleVis'
+
+then run the Viewer:
+
+    $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.Viewer instance zookeepers
username password dirTable dataTable exampleVis /local/username/workspace
 
 To list the contents of specific directories, use QueryUtil.java.
 
-    $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil instance zookeepers
username password dirTable auths /local/username
-    $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil instance zookeepers
username password dirTable auths /local/username/workspace
+    $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil instance zookeepers
username password dirTable exampleVis /local/username
+    $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil instance zookeepers
username password dirTable exampleVis /local/username/workspace
 
 To perform searches on file or directory names, also use QueryUtil.java.  Search terms must
contain no more than one wild card and cannot contain "/".
 *Note* these queries run on the _indexTable_ table instead of the dirTable table.

Propchange: accumulo/trunk/server/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.4/server:r1333190

Propchange: accumulo/trunk/src/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.4/src:r1333190



Mime
View raw message