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 11:05:53 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14388278#comment-14388278 ] 

Jaideep Dhok commented on LENS-470:
-----------------------------------

{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules ............................. SUCCESS [2.296s]
[INFO] Lens .............................................. SUCCESS [1.890s]
[INFO] Lens API .......................................... SUCCESS [5.166s]
[INFO] Lens API for server and extensions ................ SUCCESS [6.641s]
[INFO] Lens Cube ......................................... SUCCESS [2:13.635s]
[INFO] Lens DB storage ................................... SUCCESS [10.519s]
[INFO] Lens Query Library ................................ SUCCESS [4.424s]
[INFO] Lens Hive Driver .................................. SUCCESS [2:34.001s]
[INFO] Lens Driver for JDBC .............................. SUCCESS [19.011s]
[INFO] Lens Server ....................................... SUCCESS [4:45.402s]
[INFO] Lens client ....................................... SUCCESS [20.914s]
[INFO] Lens CLI .......................................... SUCCESS [2:06.074s]
[INFO] Lens Examples ..................................... SUCCESS [0.829s]
[INFO] Lens Distribution ................................. SUCCESS [9.948s]
[INFO] Lens ML Lib ....................................... SUCCESS [1:00.466s]
[INFO] Lens ML Ext Distribution .......................... SUCCESS [2.533s]
[INFO] Lens Regression ................................... SUCCESS [0.497s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:05.148s
[INFO] Finished at: Tue Mar 31 09:02:53 UTC 2015
[INFO] Final Memory: 108M/1250M
[INFO] ------------------------------------------------------------------------
{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)