25 Mar 2015 06:32:42,461 [estimate-4] WARN org.apache.lens.driver.cube.RewriteUtil - Driver : org.apache.lens.driver.jdbc.JDBCDriver@146ef636 Skipped for the query rewriting due to
java.lang.NullPointerException
at org.apache.lens.cube.metadata.CubeMetastoreClient.isCube(CubeMetastoreClient.java:1209)
at org.apache.lens.cube.metadata.CubeMetastoreClient.isCube(CubeMetastoreClient.java:1177)
at org.apache.lens.cube.parse.CubeQueryContext.addQueriedTable(CubeQueryContext.java:283)
at org.apache.lens.cube.parse.CubeQueryContext.addQueriedTable(CubeQueryContext.java:255)
at org.apache.lens.cube.parse.CubeQueryContext.addQueriedTable(CubeQueryContext.java:247)
at org.apache.lens.cube.parse.CubeQueryContext.extractMetaTables(CubeQueryContext.java:192)
at org.apache.lens.cube.parse.CubeQueryContext.<init>(CubeQueryContext.java:177)
at org.apache.lens.cube.parse.CubeSemanticAnalyzer.analyzeInternal(CubeSemanticAnalyzer.java:76)
at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:327)
at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:169)
at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:182)
at org.apache.lens.driver.cube.RewriteUtil$DriverRewriterRunnable.run(RewriteUtil.java:294)
at org.apache.lens.server.query.QueryExecutionServiceImpl$RewriteEstimateRunnable.run(QueryExecutionServiceImpl.java:1126)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
25 Mar 2015 06:32:42,461 [estimate-4] ERROR org.apache.lens.server.query.QueryExecutionServiceImpl - Estimate skipped since rewrite failed for driver org.apache.lens.driver.jdbc.JDBCDriver@146ef636 cause: Driver :org.apache.lens.driver.jdbc.JDBCDriver Cause :null