You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Jaideep Dhok (JIRA)" <ji...@apache.org> on 2015/03/31 10:44:53 UTC
[jira] [Updated] (LENS-470) java.lang.NoSuchMethodError:
org.apache.commons.collections.CollectionUtils.isNotEmpty(Ljava/util/Collection;
[ https://issues.apache.org/jira/browse/LENS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaideep Dhok updated LENS-470:
------------------------------
Attachment: lens-470.patch
Attaching straightforward patch. Awaiting test results for this.
Tested lens-server.war contains commons-collections jar
{noformat}
$ jar tvf lens-server.war |grep commons-collections
575389 Tue Jun 25 12:28:02 IST 2013 WEB-INF/lib/commons-collections-3.2.1.jar
{noformat}
> java.lang.NoSuchMethodError: org.apache.commons.collections.CollectionUtils.isNotEmpty(Ljava/util/Collection;
> --------------------------------------------------------------------------------------------------------------
>
> Key: LENS-470
> URL: https://issues.apache.org/jira/browse/LENS-470
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Arshad Matin
> Attachments: lens-470.patch
>
>
> Exception
> {noformat}
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)