Github user vasia commented on the pull request: https://github.com/apache/flink/pull/537#issuecomment-102366422 Hey @andralungu! Thanks a lot for looking into this! Can you please close this PR and I'll open a new one with the latest changes. Regarding returning -1 if the option is not set, I did that so that we avoid throwing an exception and also because other options like getIterationAggregator() have a similar behavior. I really don't think it's such a big deal for one to read the javadoc when using a method :P Of course, if you have any idea on how we could make this better, please let me know! (but let's continue the discussion in the new PR).
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---