Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/85#discussion_r15571375
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/operators/RegularPactTask.java
 ---
    @@ -525,7 +526,9 @@ protected void run() throws Exception {
                        // modify accumulators.ll;
                        if (this.stub != null) {
                                // collect the counters from the stub
    -                           Map<String, Accumulator<?,?>> accumulators = 
this.stub.getRuntimeContext().getAllAccumulators();
    +
    +                           // !!! Is this.runtimeUdfContext the right 
thing to return here if this.stub.getRuntimeContext() is null? !!!
    --- End diff --
    
    I agree, both should be the same. And previously, none was ever null.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to