accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject [accumulo-website] branch master updated: Updates links to M/R examples
Date Tue, 15 Jan 2019 16:07:13 GMT
This is an automated email from the ASF dual-hosted git repository.

mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 942bfcb  Updates links to M/R examples
942bfcb is described below

commit 942bfcb2f7df249cc89e167cc42041600a381105
Author: Mike Walch <mwalch@apache.org>
AuthorDate: Tue Jan 15 11:03:27 2019 -0500

    Updates links to M/R examples
---
 _docs-2/development/high_speed_ingest.md |  6 ++----
 _docs-2/development/mapreduce.md         | 17 +++++++++++++++--
 _docs-2/getting-started/clients.md       |  1 -
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/_docs-2/development/high_speed_ingest.md b/_docs-2/development/high_speed_ingest.md
index 46fee58..3147454 100644
--- a/_docs-2/development/high_speed_ingest.md
+++ b/_docs-2/development/high_speed_ingest.md
@@ -106,13 +106,11 @@ import file.
 ## MapReduce Ingest
 
 It is possible to efficiently write many mutations to Accumulo in parallel via a
-MapReduce job.  Typically, a MapReduce job will process data that lives in HDFS
+MapReduce job. Typically, a MapReduce job will process data that lives in HDFS
 and write mutations to Accumulo using [AccumuloOutputFormat]. For more information
-on how use to use MapReduce with Accumulo, see the [MapReduce documentation][mapred-docs]
-and the [MapReduce example code][mapred-code].
+on how use to use MapReduce with Accumulo, see the [MapReduce documentation][mapred-docs].
 
 [bulk-example]: https://github.com/apache/accumulo-examples/blob/master/docs/bulkIngest.md
 [AccumuloOutputFormat]: {% jurl org.apache.accumulo.hadoop.mapreduce.AccumuloOutputFormat
%}
 [AccumuloFileOutputFormat]: {% jurl org.apache.accumulo.hadoop.mapreduce.AccumuloFileOutputFormat
%}
 [mapred-docs]: {% durl development/mapreduce %}
-[mapred-code]: https://github.com/apache/accumulo-examples/blob/master/docs/mapred.md
diff --git a/_docs-2/development/mapreduce.md b/_docs-2/development/mapreduce.md
index 3295b6f..adf0643 100644
--- a/_docs-2/development/mapreduce.md
+++ b/_docs-2/development/mapreduce.md
@@ -171,9 +171,22 @@ can then be bulk imported into Accumulo:
         .outputPath(new Path("hdfs://localhost:8020/myoutput/")).store(job);
     ```
 
-The [MapReduce example][mapred-example] contains a complete example of using MapReduce with
Accumulo.
+## Example Code
+
+The [Accumulo Examples repo][examples-repo] has several MapReduce examples:
+
+* [wordcount] - Uses MapReduce and Accumulo to do a word count on text files
+* [regex] - Uses MapReduce and Accumulo to find data using regular expressions
+* [rowhash] - Uses MapReduce to read a table and write to a new column in the same table
+* [tablettofile] - Uses MapReduce to read a table and write one of its columns to a file
in HDFS
+* [uniquecols] - Uses MapReduce to count unique columns in Accumulo
 
-[mapred-example]: https://github.com/apache/accumulo-examples/blob/master/docs/mapred.md
 [AccumuloInputFormat]: {% jurl org.apache.accumulo.hadoop.mapreduce.AccumuloInputFormat %}
 [AccumuloOutputFormat]: {% jurl org.apache.accumulo.hadoop.mapreduce.AccumuloOutputFormat
%}
 [AccumuloFileOutputFormat]: {% jurl org.apache.accumulo.hadoop.mapreduce.AccumuloFileOutputFormat
%}
+[examples-repo]: https://github.com/apache/accumulo-examples/
+[wordcount]: https://github.com/apache/accumulo-examples/blob/master/docs/wordcount.md
+[regex]: https://github.com/apache/accumulo-examples/blob/master/docs/regex.md
+[rowhash]: https://github.com/apache/accumulo-examples/blob/master/docs/rowhash.md
+[tablettofile]: https://github.com/apache/accumulo-examples/blob/master/docs/tablettofile.md
+[uniquecols]: https://github.com/apache/accumulo-examples/blob/master/docs/uniquecols.md
diff --git a/_docs-2/getting-started/clients.md b/_docs-2/getting-started/clients.md
index c73ec89..cff9086 100644
--- a/_docs-2/getting-started/clients.md
+++ b/_docs-2/getting-started/clients.md
@@ -366,7 +366,6 @@ This page covers Accumulo client basics.  Below are links to additional
document
 [Iterators]: {% durl development/iterators %}
 [Proxy]: {% durl development/proxy %}
 [MapReduce]: {% durl development/mapreduce %}
-[mapred-example]: https://github.com/apache/accumulo-examples/blob/master/docs/mapred.md
 [batch]: https://github.com/apache/accumulo-examples/blob/master/docs/batch.md
 [reservations]: https://github.com/apache/accumulo-examples/blob/master/docs/reservations.md
 [isolation]: https://github.com/apache/accumulo-examples/blob/master/docs/isolation.md


Mime
View raw message