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

Raju Bairishetti updated LENS-1499:
-----------------------------------
    Description: 
Seeing the following errors while running *site:stage*

*lens-server-api* module

{noformat}
[INFO] Nullcheck of excpList at line 46 of value previously dereferenced in new 
org.apache.lens.server.api.error.LensMultiCauseException(ImmutableList) 
[org.apache.lens.server.api.error.LensMultiCauseException, 
org.apache.lens.server.api.error.LensMultiCauseException] At 
LensMultiCauseException.java:[line 45]Redundant null check at 
LensMultiCauseException.java:[line 46]
[INFO] Class org.apache.lens.server.api.query.PreparedQueryContext defines 
non-transient non-serializable instance field prepareHandle 
[org.apache.lens.server.api.query.PreparedQueryContext] In 
PreparedQueryContext.java
[INFO] 

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
lens-server-api: failed to get report for 
org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal 
org.codehaus.mojo:findbugs-maven-plugin:3.0.1:check (findbugs-check) on project 
lens-server-api: failed with 2 bugs and 1 errors -> [Help 1]
{noformat}

*lens-cube* module:
{noformat}
[INFO] Class org.apache.lens.cube.error.LensCubeErrorCode defines non-transient 
non-serializable instance field errorInfo 
[org.apache.lens.cube.error.LensCubeErrorCode] In LensCubeErrorCode.java
[INFO] Nullcheck of column at line 46 of value previously dereferenced in new 
org.apache.lens.cube.metadata.CubeMeasure(FieldSchema, String, String, String, 
String, Date, Date, Double, Double, Double, Map) 
[org.apache.lens.cube.metadata.CubeMeasure, 
org.apache.lens.cube.metadata.CubeMeasure] At CubeMeasure.java:[line 
44]Redundant null check at CubeMeasure.java:[line 46]
[INFO] org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache 
is serializable but also an inner class of a non-serializable class 
[org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache] At 
CubeMetastoreClient.java:[lines 363-585]
[INFO] Class org.apache.lens.cube.parse.join.JoinTree$1$1 defines non-transient 
non-serializable instance field this$1 
[org.apache.lens.cube.parse.join.JoinTree$1$1] In JoinTree.java
[INFO] Class org.apache.lens.cube.parse.join.JoinTree$2$1 defines non-transient 
non-serializable instance field this$1 
[org.apache.lens.cube.parse.join.JoinTree$2$1] In JoinTree.java
[INFO] 
{noformat}

  was:
Seeing the following errors while running *site:stage*
{noformat}
[INFO] Nullcheck of excpList at line 46 of value previously dereferenced in new 
org.apache.lens.server.api.error.LensMultiCauseException(ImmutableList) 
[org.apache.lens.server.api.error.LensMultiCauseException, 
org.apache.lens.server.api.error.LensMultiCauseException] At 
LensMultiCauseException.java:[line 45]Redundant null check at 
LensMultiCauseException.java:[line 46]
[INFO] Class org.apache.lens.server.api.query.PreparedQueryContext defines 
non-transient non-serializable instance field prepareHandle 
[org.apache.lens.server.api.query.PreparedQueryContext] In 
PreparedQueryContext.java
[INFO] 

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
lens-server-api: failed to get report for 
org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal 
org.codehaus.mojo:findbugs-maven-plugin:3.0.1:check (findbugs-check) on project 
lens-server-api: failed with 2 bugs and 1 errors -> [Help 1]
{noformat}

Cube:
{noformat}
[INFO] Class org.apache.lens.cube.error.LensCubeErrorCode defines non-transient 
non-serializable instance field errorInfo 
[org.apache.lens.cube.error.LensCubeErrorCode] In LensCubeErrorCode.java
[INFO] Nullcheck of column at line 46 of value previously dereferenced in new 
org.apache.lens.cube.metadata.CubeMeasure(FieldSchema, String, String, String, 
String, Date, Date, Double, Double, Double, Map) 
[org.apache.lens.cube.metadata.CubeMeasure, 
org.apache.lens.cube.metadata.CubeMeasure] At CubeMeasure.java:[line 
44]Redundant null check at CubeMeasure.java:[line 46]
[INFO] org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache 
is serializable but also an inner class of a non-serializable class 
[org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache] At 
CubeMetastoreClient.java:[lines 363-585]
[INFO] Class org.apache.lens.cube.parse.join.JoinTree$1$1 defines non-transient 
non-serializable instance field this$1 
[org.apache.lens.cube.parse.join.JoinTree$1$1] In JoinTree.java
[INFO] Class org.apache.lens.cube.parse.join.JoinTree$2$1 defines non-transient 
non-serializable instance field this$1 
[org.apache.lens.cube.parse.join.JoinTree$2$1] In JoinTree.java
[INFO] 
{noformat}


> findbug errors in multiple modules
> ----------------------------------
>
>                 Key: LENS-1499
>                 URL: https://issues.apache.org/jira/browse/LENS-1499
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: api, cube
>            Reporter: Raju Bairishetti
>             Fix For: 2.7
>
>
> Seeing the following errors while running *site:stage*
> *lens-server-api* module
> {noformat}
> [INFO] Nullcheck of excpList at line 46 of value previously dereferenced in 
> new org.apache.lens.server.api.error.LensMultiCauseException(ImmutableList) 
> [org.apache.lens.server.api.error.LensMultiCauseException, 
> org.apache.lens.server.api.error.LensMultiCauseException] At 
> LensMultiCauseException.java:[line 45]Redundant null check at 
> LensMultiCauseException.java:[line 46]
> [INFO] Class org.apache.lens.server.api.query.PreparedQueryContext defines 
> non-transient non-serializable instance field prepareHandle 
> [org.apache.lens.server.api.query.PreparedQueryContext] In 
> PreparedQueryContext.java
> [INFO] 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> lens-server-api: failed to get report for 
> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal 
> org.codehaus.mojo:findbugs-maven-plugin:3.0.1:check (findbugs-check) on 
> project lens-server-api: failed with 2 bugs and 1 errors -> [Help 1]
> {noformat}
> *lens-cube* module:
> {noformat}
> [INFO] Class org.apache.lens.cube.error.LensCubeErrorCode defines 
> non-transient non-serializable instance field errorInfo 
> [org.apache.lens.cube.error.LensCubeErrorCode] In LensCubeErrorCode.java
> [INFO] Nullcheck of column at line 46 of value previously dereferenced in new 
> org.apache.lens.cube.metadata.CubeMeasure(FieldSchema, String, String, 
> String, String, Date, Date, Double, Double, Double, Map) 
> [org.apache.lens.cube.metadata.CubeMeasure, 
> org.apache.lens.cube.metadata.CubeMeasure] At CubeMeasure.java:[line 
> 44]Redundant null check at CubeMeasure.java:[line 46]
> [INFO] 
> org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache is 
> serializable but also an inner class of a non-serializable class 
> [org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache] At 
> CubeMetastoreClient.java:[lines 363-585]
> [INFO] Class org.apache.lens.cube.parse.join.JoinTree$1$1 defines 
> non-transient non-serializable instance field this$1 
> [org.apache.lens.cube.parse.join.JoinTree$1$1] In JoinTree.java
> [INFO] Class org.apache.lens.cube.parse.join.JoinTree$2$1 defines 
> non-transient non-serializable instance field this$1 
> [org.apache.lens.cube.parse.join.JoinTree$2$1] In JoinTree.java
> [INFO] 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to