Author: ecn Date: Mon Jan 6 23:38:03 2014 New Revision: 1556070 URL: http://svn.apache.org/r1556070 Log: ACCUMULO-2141 fixed typo and old syntax
Modified: accumulo/site/trunk/content/1.5/examples/dirlist.mdtext Modified: accumulo/site/trunk/content/1.5/examples/dirlist.mdtext URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/1.5/examples/dirlist.mdtext?rev=1556070&r1=1556069&r2=1556070&view=diff ============================================================================== --- accumulo/site/trunk/content/1.5/examples/dirlist.mdtext (original) +++ accumulo/site/trunk/content/1.5/examples/dirlist.mdtext Mon Jan 6 23:38:03 2014 @@ -56,13 +56,13 @@ To perform searches on file or directory $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil -i instance -z zookeepers -u username -p password -t indexTable --auths exampleVis --path filename --search $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil -i instance -z zookeepers -u username -p password -t indexTable --auths exampleVis --path 'filename*' --search $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil -i instance -z zookeepers -u username -p password -t indexTable --auths exampleVis --path '*jar' --search - $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil -i instance -z zookeepers -u username -p password -t indexTable --auths exampleVis iipath 'filename*jar' --search + $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.QueryUtil -i instance -z zookeepers -u username -p password -t indexTable --auths exampleVis --path 'filename*jar' --search To count the number of direct children (directories and files) and descendants (children and children's descendants, directories and files), run the FileCount over the dirTable table. The results are written back to the same table. FileCount reads from and writes to Accumulo. This requires scan authorizations for the read and a visibility for the data written. In this example, the authorizations and visibility are set to the same value, exampleVis. See README.visibility for more information on visibility and authorizations. - $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.FileCount instance zookeepers username password dirTable exampleVis exampleVis + $ ./bin/accumulo org.apache.accumulo.examples.simple.dirlist.FileCount -i instance -z zookeepers -u username -p password -t dirTable --auths exampleVis ## Directory Table