[ 
https://issues.apache.org/jira/browse/BEAM-4526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía resolved BEAM-4526.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.6.0

> FlinkRunner failing errorprone due to mutable enum
> --------------------------------------------------
>
>                 Key: BEAM-4526
>                 URL: https://issues.apache.org/jira/browse/BEAM-4526
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Blocker
>             Fix For: 2.6.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> runners/flink/src/main/java/org/apache/beam/runners/flink/translation/functions/BatchFlinkExecutableStageContext.java:77:
>  warning: [ImmutableEnumChecker] enums should be immutable: 'BatchFactory' 
> has field 'cachedContexts' of type 
> 'com.google.common.cache.LoadingCache<org.apache.beam.runners.fnexecution.provisioning.JobInfo,org.apache.beam.runners.flink.translation.functions.BatchFlinkExecutableStageContext>',
>  the declaration of type 
> 'com.google.common.cache.LoadingCache<org.apache.beam.runners.fnexecution.provisioning.JobInfo,org.apache.beam.runners.flink.translation.functions.BatchFlinkExecutableStageContext>'
>  is not annotated with @com.google.errorprone.annotations.Immutable or 
> @javax.annotation.concurrent.Immutable
>     private final LoadingCache<JobInfo, BatchFlinkExecutableStageContext> 
> cachedContexts;
>                                                                           ^
>     (see http://errorprone.info/bugpattern/ImmutableEnumChecker)
> error: warnings found and -Werror specified
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to