You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@crunch.apache.org by bu...@apache.org on 2014/01/14 19:12:07 UTC
svn commit: r894129 - in /websites/staging/crunch/trunk/content: ./
user-guide.html
Author: buildbot
Date: Tue Jan 14 18:12:07 2014
New Revision: 894129
Log:
Staging update by buildbot for crunch
Modified:
websites/staging/crunch/trunk/content/ (props changed)
websites/staging/crunch/trunk/content/user-guide.html
Propchange: websites/staging/crunch/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jan 14 18:12:07 2014
@@ -1 +1 @@
-1558134
+1558135
Modified: websites/staging/crunch/trunk/content/user-guide.html
==============================================================================
--- websites/staging/crunch/trunk/content/user-guide.html (original)
+++ websites/staging/crunch/trunk/content/user-guide.html Tue Jan 14 18:12:07 2014
@@ -728,7 +728,7 @@ You use a Source in conjunction with one
Pipeline pipeline = ...;
PCollection<String> lines = pipeline.read(new TextFileSource(new Path("/user/crunch/text"), Writables.strings()));
- PTable<Long, ByteBuffer> binaryTable = pipeline.read(new SequenceFileTableSource(new Path("/user/crunch/binary"),
+ PTable<Long, ByteBuffer> binaryTable = pipeline.read(new SeqFileTableSource(new Path("/user/crunch/binary"),
Writables.tableOf(Writables.longs(), Writables.bytes())));
</pre>