You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2014/07/10 11:40:05 UTC
[jira] [Updated] (FLINK-656) Add RuntimeContext to open method of
functions
[ https://issues.apache.org/jira/browse/FLINK-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ufuk Celebi updated FLINK-656:
------------------------------
Labels: breaking-api github-import (was: github-import)
> Add RuntimeContext to open method of functions
> ----------------------------------------------
>
> Key: FLINK-656
> URL: https://issues.apache.org/jira/browse/FLINK-656
> Project: Flink
> Issue Type: Bug
> Reporter: GitHub Import
> Labels: breaking-api, github-import
> Fix For: pre-apache
>
>
> This is minor.
> Is it reasonable to add the `RuntimeContext` as an argument to the `open(Configuration)` method of stub functions? Can we do this without breaking stuff?
> I would find it nice to replace the possibly repeated calls to `getRuntimeContext().getBroadcastVariable()`, `getRuntimeContext().addAccumulator()`, etc. with something like `context.getBroadcastVariable()`.
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/656
> Created by: [uce|https://github.com/uce]
> Labels:
> Created at: Wed Apr 02 16:33:51 CEST 2014
> State: open
--
This message was sent by Atlassian JIRA
(v6.2#6252)