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/01/22 13:50:34 UTC

[jira] [Created] (LENS-227) Prepare succeeds even with error on rewriting with multiple drivers in some cases

Amareshwari Sriramadasu created LENS-227:
--------------------------------------------

             Summary: Prepare succeeds even with error on rewriting with multiple drivers in some cases
                 Key: LENS-227
                 URL: https://issues.apache.org/jira/browse/LENS-227
             Project: Apache Lens
          Issue Type: Bug
          Components: server
            Reporter: Amareshwari Sriramadasu
            Priority: Critical
             Fix For: 2.0


Here are the scenario we saw :

22 Jan 2015 11:21:27,630 [Grizzly-worker(30)] INFO  org.apache.lens.server.query.QueryExecutionServiceImpl  - ExlainAndPrepare: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><lensSessionHandle><publicId>e9c5f629-1082-49be-9e6c-eb5204460320</publicId><secretId>3e2497bb-49d2-4ea9-b241-dbfc95e2c46f</secretId></lensSessionHandle> query: cube select xxx

....
22 Jan 2015 11:24:19,788 [Grizzly-worker(32)] WARN  org.apache.lens.driver.cube.RewriteUtil  - Driver : org.apache.lens.driver.jdbc.JDBCDriver Skipped for the query rewriting due to
org.apache.hadoop.hive.ql.parse.SemanticException: No candidate fact table available to answer the query, 
....
22 Jan 2015 11:25:14,999 [Grizzly-worker(32)] INFO  org.apache.lens.driver.cube.RewriteUtil  - Final rewritten query for driver:org.apache.lens.driver.hive.HiveDriver@7a520351 is: 
...
22 Jan 2015 11:25:15,132 [Grizzly-worker(32)] ERROR org.apache.lens.server.api.query.DriverSelectorQueryContext  - Setting driver plan failed for driver org.apache.lens.driver.hive.HiveDriver@7a520351org.apache.lens.api.LensException: Error executing query
...
22 Jan 2015 11:25:15,380 [Grizzly-worker(32)] INFO  org.apache.lens.driver.jdbc.ColumnarSQLRewriter  - Input Query : cube select 
...
22 Jan 2015 11:25:15,604 [Grizzly-worker(32)] INFO  org.apache.lens.driver.jdbc.JDBCDriver  - Prepared: d09e32a0-2157-442c-9a95-0cf9496df5b3



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