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/08/28 15:36:46 UTC

[jira] [Updated] (LENS-765) null Error Message on Lens Server logs

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

Amareshwari Sriramadasu updated LENS-765:
-----------------------------------------
    Affects Version/s:     (was: 2.4)
                       2.2
             Priority: Major  (was: Blocker)
              Summary: null Error Message on Lens Server logs  (was: null Error Message on Lens Server)

Degrading the priority. 

The problem is with logging messages and explain api.

Here is the issue :
With changes for LENS-395 : The message associated with LensException is not available until it is constructed from ErrorCollectionFactory and is much delayed than logging time. So, logs are having null as the message.
Explain api is not modified to use the new flow of constructing messages, so errors on explain are coming wrong.

> null Error Message on Lens Server logs
> --------------------------------------
>
>                 Key: LENS-765
>                 URL: https://issues.apache.org/jira/browse/LENS-765
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: api, cube
>    Affects Versions: 2.2
>            Reporter: Arshad Matin
>            Assignee: Sushil Mohanty
>             Fix For: 2.4
>
>
> Getting a lot of null error message
> {noformat}
> 28 Aug 2015 09:03:26 [3ad5df03-1d69-4668-ab4b-8c4040038677] [estimate-3] WARN  org.apache.lens.server.rewrite.RewriteUtil - Driver : org.apache.lens.driver.jdbc.JDBCDriver@3e6fd0b9  Skipped for the query rewriting due to
> org.apache.lens.server.api.error.LensException: null
>         at org.apache.lens.cube.parse.CubeQueryContext.pickCandidateDimsToQuery(CubeQueryContext.java:807) ~[lens-cube-2.4.0-inm-SNAPSHOT.jar:2.4.0-inm-SNAPSHOT]
>         at org.apache.lens.cube.parse.CubeQueryContext.toHQL(CubeQueryContext.java:854) ~[lens-cube-2.4.0-inm-SNAPSHOT.jar:2.4.0-inm-SNAPSHOT]
>         at org.apache.lens.server.rewrite.RewriteUtil$DriverRewriterRunnable.run(RewriteUtil.java:325) ~[classes/:na]
>         at org.apache.lens.server.query.QueryExecutionServiceImpl$RewriteEstimateRunnable.run(QueryExecutionServiceImpl.java:1345) [classes/:na]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_40-internal]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_40-internal]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_40-internal]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_40-internal]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-internal]
> {noformat}



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