accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r832708 - in /websites/staging/accumulo/trunk/content: ./ 1.4/user_manual/Analytics.html
Date Fri, 21 Sep 2012 19:27:13 GMT
Author: buildbot
Date: Fri Sep 21 19:27:13 2012
New Revision: 832708

Log:
Staging update by buildbot for accumulo

Modified:
    websites/staging/accumulo/trunk/content/   (props changed)
    websites/staging/accumulo/trunk/content/1.4/user_manual/Analytics.html

Propchange: websites/staging/accumulo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Sep 21 19:27:13 2012
@@ -1 +1 @@
-1386630
+1388634

Modified: websites/staging/accumulo/trunk/content/1.4/user_manual/Analytics.html
==============================================================================
--- websites/staging/accumulo/trunk/content/1.4/user_manual/Analytics.html (original)
+++ websites/staging/accumulo/trunk/content/1.4/user_manual/Analytics.html Fri Sep 21 19:27:13
2012
@@ -119,7 +119,7 @@
 <p>To write to an Accumulo table, create a Reducer with the following class parameterization
and be sure to configure the AccumuloOutputFormat. The key emitted from the Reducer identifies
the table to which the mutation is sent. This allows a single Reducer to write to more than
one table if desired. A default table can be configured using the AccumuloOutputFormat, in
which case the output table name does not have to be passed to the Context object within the
Reducer. </p>
 <div class="codehilite"><pre><span class="n">class</span> <span
class="n">MyReducer</span> <span class="n">extends</span> <span class="n">Reducer</span><span
class="o">&lt;</span><span class="n">WritableComparable</span><span
class="p">,</span> <span class="n">Writable</span><span class="p">,</span>
<span class="n">Text</span><span class="p">,</span> <span class="n">Mutation</span><span
class="o">&gt;</span> <span class="p">{</span>
 
-    <span class="n">public</span> <span class="n">void</span> <span
class="n">reduce</span><span class="p">(</span><span class="n">WritableComparable</span>
<span class="n">key</span><span class="p">,</span> <span class="n">Iterator</span><span
class="sr">&lt;Text&gt;</span> <span class="nb">values</span><span
class="p">,</span> <span class="n">Context</span> <span class="n">c</span><span
class="p">)</span> <span class="p">{</span>
+    <span class="n">public</span> <span class="n">void</span> <span
class="n">reduce</span><span class="p">(</span><span class="n">WritableComparable</span>
<span class="n">key</span><span class="p">,</span> <span class="n">Iterable</span><span
class="sr">&lt;Text&gt;</span> <span class="nb">values</span><span
class="p">,</span> <span class="n">Context</span> <span class="n">c</span><span
class="p">)</span> <span class="p">{</span>
 
         <span class="n">Mutation</span> <span class="n">m</span><span
class="p">;</span>
 



Mime
View raw message