accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [1/3] git commit: ACCUMULO-1968 Update incorrect example documentation
Date Thu, 05 Dec 2013 16:57:08 GMT
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 0d498192b -> 1bddc5740


ACCUMULO-1968 Update incorrect example documentation


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/513f4d22
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/513f4d22
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/513f4d22

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: 513f4d22c5dfe39e5dd372528edb6c2ce6c7525d
Parents: 6175d7a
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Thu Dec 5 11:53:35 2013 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Thu Dec 5 11:53:35 2013 -0500

----------------------------------------------------------------------
 docs/examples/README.filedata                                    | 4 ++--
 .../apache/accumulo/examples/simple/filedata/FileDataIngest.java | 2 +-
 .../apache/accumulo/examples/simple/filedata/FileDataQuery.java  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/513f4d22/docs/examples/README.filedata
----------------------------------------------------------------------
diff --git a/docs/examples/README.filedata b/docs/examples/README.filedata
index ad7c2ee..80d65e3 100644
--- a/docs/examples/README.filedata
+++ b/docs/examples/README.filedata
@@ -23,8 +23,8 @@ The example has the following classes:
  * ChunkCombiner - An Iterator that dedupes file data and sets their visibilities to a combined
visibility based on current references to the file data.
  * ChunkInputFormat - An Accumulo InputFormat that provides keys containing file info (List<Entry<Key,Value>>)
and values with an InputStream over the file (ChunkInputStream).
  * ChunkInputStream - An input stream over file data stored in Accumulo.
- * FileDataIngest - Takes a list of files and archives them into Accumulo keyed on the SHA1
hashes of the files.
- * FileDataQuery - Retrieves file data based on the SHA1 hash of the file. (Used by the dirlist.Viewer.)
+ * FileDataIngest - Takes a list of files and archives them into Accumulo keyed on hashes
of the files.
+ * FileDataQuery - Retrieves file data based on the hash of the file. (Used by the dirlist.Viewer.)
  * KeyUtil - A utility for creating and parsing null-byte separated strings into/from Text
objects.
  * VisibilityCombiner - A utility for merging visibilities into the form (VIS1)|(VIS2)|...
 

http://git-wip-us.apache.org/repos/asf/accumulo/blob/513f4d22/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataIngest.java
----------------------------------------------------------------------
diff --git a/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataIngest.java
b/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataIngest.java
index 186ba4f..4ee1063 100644
--- a/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataIngest.java
+++ b/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataIngest.java
@@ -35,7 +35,7 @@ import org.apache.accumulo.core.security.ColumnVisibility;
 import org.apache.hadoop.io.Text;
 
 /**
- * Takes a list of files and archives them into Accumulo keyed on the SHA1 hashes of the
files. See docs/examples/README.filedata for instructions.
+ * Takes a list of files and archives them into Accumulo keyed on hashes of the files. See
docs/examples/README.filedata for instructions.
  */
 public class FileDataIngest {
   public static final Text CHUNK_CF = new Text("~chunk");

http://git-wip-us.apache.org/repos/asf/accumulo/blob/513f4d22/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataQuery.java
----------------------------------------------------------------------
diff --git a/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataQuery.java
b/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataQuery.java
index acfed37..bf34290 100644
--- a/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataQuery.java
+++ b/src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataQuery.java
@@ -34,7 +34,7 @@ import org.apache.accumulo.core.security.Authorizations;
 import org.apache.accumulo.core.util.PeekingIterator;
 
 /**
- * Retrieves file data based on the SHA1 hash of the file. Used by the {@link org.apache.accumulo.examples.simple.dirlist.Viewer}.
See README.dirlist for
+ * Retrieves file data based on the hash of the file. Used by the {@link org.apache.accumulo.examples.simple.dirlist.Viewer}.
See README.dirlist for
  * instructions.
  */
 public class FileDataQuery {


Mime
View raw message