GitHub user wenlong88 opened a pull request: https://github.com/apache/flink/pull/3716
[FLINK-6298]Local execution is not setting RuntimeContext for RichOutputFormat call set RuntimeContext OutputFormat when the OutputFormat is RichOutputFormat You can merge this pull request into a Git repository by running: $ git pull https://github.com/wenlong88/flink jira-6298 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3716.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 #3716 ---- commit 050d3262b2882cb6ca1a6b6a23ad7d49f76b1e94 Author: wenlong.lwl <wenlong....@alibaba-inc.com> Date: 2017-04-13T09:23:15Z Set runtimeContext to output format when it is a RichOutputFormat ---- --- 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. ---