Description
Exception
31 Mar 2015 07:29:50,582 [estimate-6] WARN org.apache.lens.driver.cube.RewriteUtil - Driver : org.apache.lens.driver.jdbc.JDBCDriver@2943ebbf Skipped for the query rewriting due to org.apache.hadoop.hive.ql.parse.SemanticException: No candidate fact table available to answer the query, because {"brief":"No candidate storages for any table","details":{"summary":[{"cause":"COLUMN_NOT_FOUND","missingColumns":["f1"]}],"s1,s2,day":[{"cause":"NO_CANDIDATE_STORAGES","storageCauses":{"s1":{"cause":"UNSUPPORTED"}}}]}} at org.apache.lens.cube.parse.CubeQueryContext.pickCandidateFactToQuery(CubeQueryContext.java:739) at org.apache.lens.cube.parse.CubeQueryContext.toHQL(CubeQueryContext.java:750) at org.apache.lens.driver.cube.RewriteUtil$DriverRewriterRunnable.run(RewriteUtil.java:309) at org.apache.lens.server.query.QueryExecutionServiceImpl$RewriteEstimateRunnable.run(QueryExecutionServiceImpl.java:1131) 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) 31 Mar 2015 07:29:50,582 [estimate-6] ERROR org.apache.lens.server.query.QueryExecutionServiceImpl - Estimate skipped since rewrite failed for driver org.apache.lens.driver.jdbc.JDBCDriver@2943ebbf cause: Driver :org.apache.lens.driver.jdbc.JDBCDriver Cause :No candidate fact table available to answer the query, because {"brief":"No candidate storages for any table","details":{"summary":[{"cause":"COLUMN_NOT_FOUND","missingColumns":["f1"]}],"s1,s2,day":[{"cause":"NO_CANDIDATE_STORAGES","storageCauses":{"s1":{"cause":"UNSUPPORTED"}}}]}} 31 Mar 2015 07:29:50,584 [QuerySubmitter] FATAL org.apache.lens.server.LensServer - Uncaught exception in Thread Thread[QuerySubmitter,5,main] java.lang.NoSuchMethodError: org.apache.commons.collections.CollectionUtils.isNotEmpty(Ljava/util/Collection;)Z at org.apache.lens.server.query.QueryExecutionServiceImpl.addSessionResourcesToDriver(QueryExecutionServiceImpl.java:2379) at org.apache.lens.server.query.QueryExecutionServiceImpl$QuerySubmitter.run(QueryExecutionServiceImpl.java:479) at java.lang.Thread.run(Thread.java:701)