Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametrize aggregators and convergence criteria #782

Closed
wants to merge 5 commits into from

Conversation

vasia
Copy link
Contributor

@vasia vasia commented May 9, 2014

Changes so that aggregators and convergence criteria are registered using an object, rather than a class.
This allows to pass parameters to aggregators and convergence criteria (see #731).
Also, enables registering aggregators in Delta iterations.

Class<Aggregator<Value>> aggClass = (Class<Aggregator<Value>>) (Class<?>) this.config.getClass(ITERATION_AGGREGATOR_PREFIX + i, null);
if (aggClass == null) {
Aggregator<Value> aggObj;
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leading spaces, travis also complains about this: https://s3.amazonaws.com/archive.travis-ci.org/jobs/24817601/log.txt

@StephanEwen
Copy link
Contributor

Looks good. I think we will merge this after the 0.5 release. Feature freeze for now ;-)

@StephanEwen
Copy link
Contributor

Merged in 08f189a of https://github.com/apache/incubator-flink

Sorry, Vasia. I made a mistake somewhere in the merging/rebasing (not sure where), and now the commit is not attributed to you :-(

@vasia
Copy link
Contributor Author

vasia commented Jun 13, 2014

no problem! thanks a lot for merging ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants