You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/04/10 09:56:12 UTC

[jira] [Commented] (LENS-492) Fix all priority High warnings

    [ https://issues.apache.org/jira/browse/LENS-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14489119#comment-14489119 ] 

Amareshwari Sriramadasu commented on LENS-492:
----------------------------------------------

Here are all the High priority warnings:

{noformat}
[INFO] Null passed for nonnull parameter of java.util.Date.compareTo(Date) in org.apache.lens.cube.metadata.FactPartition.compareTo(FactPartition) ["org.apache.lens.cube.metadata.FactPartition"] At FactPartition.java:[lines 31-161]
[INFO] Redundant nullcheck of dimsToQuery, which is known to be non-null in org.apache.lens.cube.parse.CubeQueryContext.toHQL() ["org.apache.lens.cube.parse.CubeQueryContext"] At CubeQueryContext.java:[lines 51-1067]
[INFO] Dead store to dimensionAliasMap in org.apache.lens.cube.parse.JoinResolver.autoResolveJoins(CubeQueryContext) ["org.apache.lens.cube.parse.JoinResolver"] At JoinResolver.java:[lines 43-1300]
[INFO] Null passed for nonnull parameter of org.apache.lens.cube.metadata.CubeMetastoreClient.getDimension(String) in org.apache.lens.cube.parse.JoinResolver.autoResolveJoins(CubeQueryContext) ["org.apache.lens.cube.parse.JoinResolver"] At JoinResolver.java:[lines 43-1300]
[INFO] new org.apache.hadoop.hive.ql.parse.SemanticException(ErrorMsg, String[]) not thrown in org.apache.lens.cube.parse.JoinResolver.genJoinTree(QB, ASTNode, CubeQueryContext) ["org.apache.lens.cube.parse.JoinResolver"] At JoinResolver.java:[lines 43-1300]
[INFO] Found reliance on default encoding in org.apache.lens.lib.query.CSVSerde.serializeField(Object, ObjectInspector): new String(byte[]) ["org.apache.lens.lib.query.CSVSerde"] At CSVSerde.java:[lines 48-480]
[INFO] Found reliance on default encoding in org.apache.lens.lib.query.FilePersistentFormatter.addRowsFromPersistedPath(Path): new java.io.InputStreamReader(InputStream) ["org.apache.lens.lib.query.FilePersistentFormatter"] At FilePersistentFormatter.java:[lines 44-144]
[INFO] org.apache.lens.server.LensService.sessionMap isn't final but should be ["org.apache.lens.server.LensService"] At LensService.java:[lines 64-404]
[INFO] Invocation of toString on auxJars in org.apache.lens.server.session.HiveSessionService.openSession(String, String, String, Map) ["org.apache.lens.server.session.HiveSessionService"] At HiveSessionService.java:[lines 61-465]
[INFO] org.apache.lens.api.LensSessionHandle is incompatible with expected argument type String in org.apache.lens.server.session.HiveSessionService.isOpen(LensSessionHandle) ["org.apache.lens.server.session.HiveSessionService"] At HiveSessionService.java:[lines 61-465]
[INFO] Found reliance on default encoding in new org.apache.lens.server.user.PropertyBasedUserConfigLoader(HiveConf): new java.io.InputStreamReader(InputStream) ["org.apache.lens.server.user.PropertyBasedUserConfigLoader"] At PropertyBasedUserConfigLoader.java:[lines 48-80]
[INFO] Boxing/unboxing to parse a primitive org.apache.lens.client.jdbc.LensJdbcResultSet.getInt(int) ["org.apache.lens.client.jdbc.LensJdbcResultSet"] At LensJdbcResultSet.java:[lines 69-2145]
[INFO] Boxing/unboxing to parse a primitive org.apache.lens.client.jdbc.LensJdbcResultSet.getLong(int) ["org.apache.lens.client.jdbc.LensJdbcResultSet"] At LensJdbcResultSet.java:[lines 69-2145]
[INFO] Found reliance on default encoding in org.apache.lens.examples.DatabaseUtil.initializeDatabaseStorage(): new java.io.InputStreamReader(InputStream) ["org.apache.lens.examples.DatabaseUtil"] At DatabaseUtil.java:[lines 33-76]
[INFO] Found reliance on default encoding in org.apache.lens.examples.SampleQueries.runQueries(String): new java.io.InputStreamReader(InputStream) ["org.apache.lens.examples.SampleQueries"] At SampleQueries.java:[lines 47-162]
[INFO] Null pointer dereference of LensRDDClient$LensRDDResult.resultRDD in org.apache.lens.rdd.LensRDDClient$LensRDDResult.recreateRDD(JavaSparkContext) ["org.apache.lens.rdd.LensRDDClient$LensRDDResult"] At LensRDDClient.java:[lines 342-403]
{noformat}

Review request fixing them - https://reviews.apache.org/r/33070/

> Fix all priority High warnings 
> -------------------------------
>
>                 Key: LENS-492
>                 URL: https://issues.apache.org/jira/browse/LENS-492
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.1
>
>
> This issue to fix all priority High warnings and exclude others and enable failonerror for findbugs plugin.



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