beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-931) Findbugs doesn't pass in Flink runner
Date Mon, 07 Nov 2016 17:27:00 GMT

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

Daniel Halperin updated BEAM-931:
---------------------------------
    Description: 
{code}
[INFO] --- findbugs-maven-plugin:3.0.1:check (default) @ beam-runners-flink_2.10 ---
[INFO] BugInstance size is 9
[INFO] Error size is 0
[INFO] Total bugs: 9
[INFO] Class org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMap defines non-transient
non-serializable instance field runner [org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMap]
In FlinkRunner.java
[INFO] Class org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMultimap defines non-transient
non-serializable instance field runner [org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMultimap]
In FlinkRunner.java
[INFO] Return value of org.apache.beam.sdk.io.Read$Bounded.getSource() ignored, but method
has no side effect [org.apache.beam.runners.flink.translation.FlinkStreamingTransformTranslators$BoundedReadSourceTranslator]
At FlinkStreamingTransformTranslators.java:[line 282]
[INFO] Return value of org.apache.beam.sdk.io.Read$Unbounded.getSource() ignored, but method
has no side effect [org.apache.beam.runners.flink.translation.FlinkStreamingTransformTranslators$UnboundedReadSourceTranslator]
At FlinkStreamingTransformTranslators.java:[line 252]
[INFO] org.apache.beam.runners.flink.translation.wrappers.SerializableFnAggregatorWrapper.clone()
does not call super.clone() [org.apache.beam.runners.flink.translation.wrappers.SerializableFnAggregatorWrapper]
At SerializableFnAggregatorWrapper.java:[lines 84-89]
[INFO] Class org.apache.beam.runners.flink.translation.wrappers.streaming.WindowDoFnOperator
defines non-transient non-serializable instance field stateInternals [org.apache.beam.runners.flink.translation.wrappers.streaming.WindowDoFnOperator]
In WindowDoFnOperator.java
[INFO] Class org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader
defines non-transient non-serializable instance field reader [org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader]
In UnboundedSocketSource.java
[INFO] Class org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader
defines non-transient non-serializable instance field socket [org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader]
In UnboundedSocketSource.java
[INFO] Unconditional wait in org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSourceWrapper.run(SourceFunction$SourceContext)
[org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSourceWrapper] At
UnboundedSourceWrapper.java:[line 243]
[INFO]   
{code}

  was:
{code}
[INFO] --- findbugs-maven-plugin:3.0.1:check (default) @ beam-sdks-java-io-mongodb ---
[INFO] BugInstance size is 2
[INFO] Error size is 0
[INFO] Total bugs: 2
[INFO] Boxing/unboxing to parse a primitive org.apache.beam.sdk.io.mongodb.MongoDbIO$BoundedMongoDbSource.getEstimatedSizeBytes(PipelineOptions)
[org.apache.beam.sdk.io.mongodb.MongoDbIO$BoundedMongoDbSource] At MongoDbIO.java:[line 227]
[INFO] Class org.apache.beam.sdk.io.mongodb.MongoDbIO$Write$WriteFn defines non-transient
non-serializable instance field client [org.apache.beam.sdk.io.mongodb.MongoDbIO$Write$WriteFn]
In MongoDbIO.java
[INFO]  
{code}


> Findbugs doesn't pass in Flink runner
> -------------------------------------
>
>                 Key: BEAM-931
>                 URL: https://issues.apache.org/jira/browse/BEAM-931
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-extensions
>            Reporter: Daniel Halperin
>            Assignee: Aljoscha Krettek
>
> {code}
> [INFO] --- findbugs-maven-plugin:3.0.1:check (default) @ beam-runners-flink_2.10 ---
> [INFO] BugInstance size is 9
> [INFO] Error size is 0
> [INFO] Total bugs: 9
> [INFO] Class org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMap defines non-transient
non-serializable instance field runner [org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMap]
In FlinkRunner.java
> [INFO] Class org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMultimap defines
non-transient non-serializable instance field runner [org.apache.beam.runners.flink.FlinkRunner$StreamingViewAsMultimap]
In FlinkRunner.java
> [INFO] Return value of org.apache.beam.sdk.io.Read$Bounded.getSource() ignored, but method
has no side effect [org.apache.beam.runners.flink.translation.FlinkStreamingTransformTranslators$BoundedReadSourceTranslator]
At FlinkStreamingTransformTranslators.java:[line 282]
> [INFO] Return value of org.apache.beam.sdk.io.Read$Unbounded.getSource() ignored, but
method has no side effect [org.apache.beam.runners.flink.translation.FlinkStreamingTransformTranslators$UnboundedReadSourceTranslator]
At FlinkStreamingTransformTranslators.java:[line 252]
> [INFO] org.apache.beam.runners.flink.translation.wrappers.SerializableFnAggregatorWrapper.clone()
does not call super.clone() [org.apache.beam.runners.flink.translation.wrappers.SerializableFnAggregatorWrapper]
At SerializableFnAggregatorWrapper.java:[lines 84-89]
> [INFO] Class org.apache.beam.runners.flink.translation.wrappers.streaming.WindowDoFnOperator
defines non-transient non-serializable instance field stateInternals [org.apache.beam.runners.flink.translation.wrappers.streaming.WindowDoFnOperator]
In WindowDoFnOperator.java
> [INFO] Class org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader
defines non-transient non-serializable instance field reader [org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader]
In UnboundedSocketSource.java
> [INFO] Class org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader
defines non-transient non-serializable instance field socket [org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSocketSource$UnboundedSocketReader]
In UnboundedSocketSource.java
> [INFO] Unconditional wait in org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSourceWrapper.run(SourceFunction$SourceContext)
[org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSourceWrapper] At
UnboundedSourceWrapper.java:[line 243]
> [INFO]   
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message