[ 
https://issues.apache.org/jira/browse/LENS-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16296644#comment-16296644
 ] 

Hadoop QA commented on LENS-1493:
---------------------------------

Applied patch: 
[LENS-1493.patch|https://issues.apache.org/jira/secure/attachment/12902832/LENS-1493.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1484/

> TotalQueryCost logic broken 
> ----------------------------
>
>                 Key: LENS-1493
>                 URL: https://issues.apache.org/jira/browse/LENS-1493
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Rajitha R
>            Assignee: Rajitha R
>         Attachments: LENS-1493.patch
>
>
> The totalQueryCost method in DefaultEstimatedQueryCollection is throwing 
> following error : 
>  Error in query submitter
> java.lang.ClassCastException: 
> org.apache.lens.server.api.query.cost.FactPartitionBasedQueryCost cannot be 
> cast to org.apache.lens.server.api.query.cost.StaticQueryCost
>       at 
> org.apache.lens.server.api.query.cost.StaticQueryCost.add(StaticQueryCost.java:33)
>  
>       at 
> org.apache.lens.server.query.collect.DefaultEstimatedQueryCollection.getTotalQueryCost(DefaultEstimatedQueryCollection.java:171)
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to