GitHub user stefanobaghino opened a pull request:
https://github.com/apache/flink/pull/1536
[FLINK-2021] Rework examples to use ParameterTool (K-Means)
I've reworked the K-Means examples in Java and Scala to get a feeling of
what it would mean on the whole examples code base. Just a remark: I've caught
the `RequiredParametersException` on the requirements application but not on
their definition because I've felt the errors are different in nature (the
application depends on user input while the definition should be somehow caught
sooner â it would be great to have a way to catch it at compile-time).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/radicalbit/flink 2021
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1536.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 #1536
----
commit f68cb95af1c27dd8bf99e1a2374969915dd567f9
Author: Stefano Baghino <[email protected]>
Date: 2016-01-21T11:20:49Z
[FLINK-2021] Rework the K-Means examples to use built-in argument parsing
facilities instead of ad-hoc functions
commit a432cc204741dd0a2d505886b987c4113e781c84
Author: Stefano Baghino <[email protected]>
Date: 2016-01-21T11:33:15Z
[FLINK-2021] Renamed user-facing names for options
----
---
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.
---