flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-1819][core]Allow access to RuntimeConte...
Date Fri, 31 Jul 2015 14:17:12 GMT
Github user mxm commented on a diff in the pull request:

    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/operators/DataSourceTask.java
    @@ -75,6 +78,13 @@
     	// cancel flag
     	private volatile boolean taskCanceled = false;
    +	/**
    +	 * The accumulator map used in the RuntimeContext.
    +	 */
    +	protected Map<String, Accumulator<?,?>> accumulatorMap;
    --- End diff --
    This field should be final. Or you get rid of the field and just access the accumulators
via `getEnvironment().getAccumulatorRegistry().getUserMap()`.

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message