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

Prepare succeeds even with error on rewriting with multiple drivers in some cases

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0
    • server
    • None

    Description

      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

      Attachments

        1. LENS-227.1.patch
          12 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: