Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1499

findbug errors in multiple modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.8
    • api, cube
    • None

    Description

      Seeing the following errors while running site:stage

      lens-server-api module

      [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]
      

      lens-cube module:

      [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] 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            raju.bairishetti Raju Bairishetti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: