Commits

Anonymous committed e916d83

move pre tags outside p tags for validation

Comments (0)

Files changed (1)

www/mapreduce.html

 
 <p>
 A map phase is declared as:
+</p>
 
 <pre>
 {map, FunTerm, Arg, Accumulate}
 </pre>
 
-</p>
-
 <p>
 <code>FunTerm</code> is a reference to the function that will compute the map of
     each value.  A function referenced by a FunTerm must be arity-3,
 </p>
 <p>
 A reduce phase is declared as:
+</p>
 
 <pre>
 {reduce, FunTerm, Arg, Accumulate}
 </pre>
 
-</p>
 <p>
 Where the terms are essentially the same as for map, with the exception that the function referenced by <code>FunTerm</code> must be arity 2.  It takes <code>(ValueList, Arg)</code> with <code>Arg</code> playing the same role as before and <code>ValueList</code> being a round of (possibly already processed) inputs to reduce.
 </p>
 </p>
 <p>
 The third and final type of phase is a link phase, declared as <code>{link, Bucket, Tag, Accumulate}</code>.  For this kind of phase to work, there must already be a <code>linkfun</code> property set on <code>Bucket</code> in the cluster, which must return a <code>FunTerm</code>.  This will be translated into a map phase with that term, looking like: <code>{map, FunTerm, {Bucket,Tag}, Accumulate}</code>.
-			<br />
+</p>
 			
 			
 		</div>