You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2017/04/18 19:03:33 UTC

[1/3] beam-site git commit: [BEAM-1272] Align the naming of "generateInitialSplits" and "splitIntoBundles" to better reflect their intention

Repository: beam-site
Updated Branches:
  refs/heads/asf-site 49ffb13f0 -> 64b7bca76


[BEAM-1272] Align the naming of "generateInitialSplits" and "splitIntoBundles" to better reflect their intention


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/a259cf58
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/a259cf58
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/a259cf58

Branch: refs/heads/asf-site
Commit: a259cf586568609275ea634ebd98ef8ca86d65b6
Parents: 49ffb13
Author: echauchot <ec...@gmail.com>
Authored: Thu Apr 13 10:50:30 2017 +0200
Committer: Dan Halperin <dh...@google.com>
Committed: Tue Apr 18 12:02:22 2017 -0700

----------------------------------------------------------------------
 src/contribute/ptransform-style-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam-site/blob/a259cf58/src/contribute/ptransform-style-guide.md
----------------------------------------------------------------------
diff --git a/src/contribute/ptransform-style-guide.md b/src/contribute/ptransform-style-guide.md
index 92e9775..34f7c45 100644
--- a/src/contribute/ptransform-style-guide.md
+++ b/src/contribute/ptransform-style-guide.md
@@ -160,7 +160,7 @@ Data processing is tricky, full of corner cases, and difficult to debug, because
     * Third-party APIs failing
     * Third-party APIs providing wildly inaccurate information
     * Leaks of `Closeable`/`AutoCloseable` resources in failure cases
-    * Common corner cases when developing sources: complicated arithmetic in `BoundedSource.splitIntoBundles` (e.g. splitting key or offset ranges), iteration over empty data sources or composite data sources that have some empty components.
+    * Common corner cases when developing sources: complicated arithmetic in `BoundedSource.split` (e.g. splitting key or offset ranges), iteration over empty data sources or composite data sources that have some empty components.
 * Mock out the interactions with third-party systems, or better, use ["fake"](http://martinfowler.com/articles/mocksArentStubs.html) implementations when available. Make sure that the mocked-out interactions are representative of all interesting cases of the actual behavior of these systems.
 * To unit test `DoFn`s, `CombineFn`s, and `BoundedSource`s, consider using `DoFnTester`, `CombineFnTester`, and `SourceTestUtils` respectively which can exercise the code in non-trivial ways to flesh out potential bugs. 
 * For transforms that work over unbounded collections, test their behavior in the presence of late or out-of-order data using `TestStream`.


[2/3] beam-site git commit: Closes #210

Posted by dh...@apache.org.
Closes #210


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/8ed00ffe
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/8ed00ffe
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/8ed00ffe

Branch: refs/heads/asf-site
Commit: 8ed00ffeddc3ff6ee009b43dddd84fe8587dd061
Parents: 49ffb13 a259cf5
Author: Dan Halperin <dh...@google.com>
Authored: Tue Apr 18 12:02:23 2017 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Tue Apr 18 12:02:23 2017 -0700

----------------------------------------------------------------------
 src/contribute/ptransform-style-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------



[3/3] beam-site git commit: Rebuild website after merge

Posted by dh...@apache.org.
Rebuild website after merge


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/64b7bca7
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/64b7bca7
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/64b7bca7

Branch: refs/heads/asf-site
Commit: 64b7bca765e6203944da11b026defcbde331ec2b
Parents: 8ed00ff
Author: Dan Halperin <dh...@google.com>
Authored: Tue Apr 18 12:03:24 2017 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Tue Apr 18 12:03:24 2017 -0700

----------------------------------------------------------------------
 content/contribute/ptransform-style-guide/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam-site/blob/64b7bca7/content/contribute/ptransform-style-guide/index.html
----------------------------------------------------------------------
diff --git a/content/contribute/ptransform-style-guide/index.html b/content/contribute/ptransform-style-guide/index.html
index b6a3619..85bc418 100644
--- a/content/contribute/ptransform-style-guide/index.html
+++ b/content/contribute/ptransform-style-guide/index.html
@@ -393,7 +393,7 @@ E.g. when expanding a filepattern into files, log what the filepattern was and h
       <li>Third-party APIs failing</li>
       <li>Third-party APIs providing wildly inaccurate information</li>
       <li>Leaks of <code class="highlighter-rouge">Closeable</code>/<code class="highlighter-rouge">AutoCloseable</code> resources in failure cases</li>
-      <li>Common corner cases when developing sources: complicated arithmetic in <code class="highlighter-rouge">BoundedSource.splitIntoBundles</code> (e.g. splitting key or offset ranges), iteration over empty data sources or composite data sources that have some empty components.</li>
+      <li>Common corner cases when developing sources: complicated arithmetic in <code class="highlighter-rouge">BoundedSource.split</code> (e.g. splitting key or offset ranges), iteration over empty data sources or composite data sources that have some empty components.</li>
     </ul>
   </li>
   <li>Mock out the interactions with third-party systems, or better, use <a href="http://martinfowler.com/articles/mocksArentStubs.html">\u201cfake\u201d</a> implementations when available. Make sure that the mocked-out interactions are representative of all interesting cases of the actual behavior of these systems.</li>