You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by kt...@apache.org on 2016/12/22 19:54:48 UTC
incubator-fluo-website git commit: Jekyll build from gh-pages:674215b
Repository: incubator-fluo-website
Updated Branches:
refs/heads/asf-site 0fd076807 -> 518c7627b
Jekyll build from gh-pages:674215b
fix example in Spark blog post
Project: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/commit/518c7627
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/tree/518c7627
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/diff/518c7627
Branch: refs/heads/asf-site
Commit: 518c7627b0c9bfd5a2f93cdafbe674b224ad771e
Parents: 0fd0768
Author: Keith Turner <kt...@apache.org>
Authored: Thu Dec 22 14:54:24 2016 -0500
Committer: Keith Turner <kt...@apache.org>
Committed: Thu Dec 22 14:54:24 2016 -0500
----------------------------------------------------------------------
blog/2016/12/22/spark-load/index.html | 2 +-
feed.xml | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/518c7627/blog/2016/12/22/spark-load/index.html
----------------------------------------------------------------------
diff --git a/blog/2016/12/22/spark-load/index.html b/blog/2016/12/22/spark-load/index.html
index 62a8332..f6164e2 100644
--- a/blog/2016/12/22/spark-load/index.html
+++ b/blog/2016/12/22/spark-load/index.html
@@ -135,7 +135,7 @@ can be created. That\u2019s what the example below shows.</p>
<span class="n">docRdd</span> <span class="o">=</span> <span class="n">docRdd</span><span class="o">.</span><span class="na">distinct</span><span class="o">(</span><span class="n">numPartitions</span><span class="o">);</span>
<span class="c1">// Execute load transactions for unique documents. Iin Java 8 lambda syntax below, </span>
- <span class="c1">// iter is of type Iterator<String></span>
+ <span class="c1">// iter is of type Iterator<Document></span>
<span class="n">docRdd</span><span class="o">.</span><span class="na">foreachPartition</span><span class="o">(</span><span class="n">iter</span><span class="o">->{</span>
<span class="c1">// Assume fluo.properties file was submitted with application</span>
<span class="n">FluoConfiguration</span> <span class="n">fconf</span> <span class="o">=</span> <span class="k">new</span> <span class="n">FluoConfiguration</span><span class="o">(</span><span class="k">new</span> <span class="n">File</span><span class="o">(</span><span class="s">"fluo.properties"</span><span class="o">));</span>
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/518c7627/feed.xml
----------------------------------------------------------------------
diff --git a/feed.xml b/feed.xml
index 1d11700..c39b657 100644
--- a/feed.xml
+++ b/feed.xml
@@ -5,8 +5,8 @@
<description></description>
<link>https://fluo.apache.org//</link>
<atom:link href="https://fluo.apache.org//feed.xml" rel="self" type="application/rss+xml" />
- <pubDate>Thu, 22 Dec 2016 18:12:05 +0000</pubDate>
- <lastBuildDate>Thu, 22 Dec 2016 18:12:05 +0000</lastBuildDate>
+ <pubDate>Thu, 22 Dec 2016 19:54:22 +0000</pubDate>
+ <lastBuildDate>Thu, 22 Dec 2016 19:54:22 +0000</lastBuildDate>
<generator>Jekyll v3.3.0</generator>
<item>
@@ -33,7 +33,7 @@ can be created. That\u2019s what the example below shows.</p>
<span class="n">docRdd</span> <span class="o">=</span> <span class="n">docRdd</span><span class="o">.</span><span class="na">distinct</span><span class="o">(</span><span class="n">numPartitions</span><span class="o">);</span>
<span class="c1">// Execute load transactions for unique documents. Iin Java 8 lambda syntax below, </span>
- <span class="c1">// iter is of type Iterator&lt;String&gt;</span>
+ <span class="c1">// iter is of type Iterator&lt;Document&gt;</span>
<span class="n">docRdd</span><span class="o">.</span><span class="na">foreachPartition</span><span class="o">(</span><span class="n">iter</span><span class="o">-&gt;{</span>
<span class="c1">// Assume fluo.properties file was submitted with application</span>
<span class="n">FluoConfiguration</span> <span class="n">fconf</span> <span class="o">=</span> <span class="k">new</span> <span class="n">FluoConfiguration</span><span class="o">(</span><span class="k">new</span> <span class="n">File</span><span class="o">(</span><span class="s">"fluo.properties"</span><span class="o">));</span>