GitHub user StephanEwen opened a pull request:
https://github.com/apache/flink/pull/1482
[FLINK-3195] [examples] Consolidate Java/Scala and batch/streaming examples
This pull request consolidates the examples:
- One root project `flink-examples`
- Subprojects `flink-examples-batch` and `flink-examples-streaming`
- Batch examples are put into the distribution under `examples/batch`
- Streaming examples are now also put into the distribution under
`examples/streaming`
- Java / Scala examples are always in one project. Since Java code never
references Scala code, this should be okay, even for Eclipse
- Removed redundant jars, such as `WordCoundPOJO`, and
`EnumTrianglesOpt`. Since the JARs do not add any visible difference, they are
not necessary and only confusing.
- Rename `PageRankBasic` to `PageRank`
Open question: Moving the final example jars to `examples/batch` breaks a
few web tutorials. Since these tutorials usually mention a Flink version (and
this is simple to figure out for users), I think it is okay.
An alternative is to have all examples in the `/examples` folder and
changing the names to make them unique, for example `WordCount.jar` and
`StreamingWordCount.jar`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StephanEwen/incubator-flink examples
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1482.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1482
----
commit 336494a5cdac48d8f905082864a2d183d9f1dc22
Author: Stephan Ewen <[email protected]>
Date: 2015-12-23T19:17:56Z
[FLINK-3195] [examples] Consolidate batch examples into one project, unify
batch and streaming examples under on parent project
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---