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

Hudson commented on LENS-995:
-----------------------------

FAILURE: Integrated in Lens-Commit #1217 (See 
[https://builds.apache.org/job/Lens-Commit/1217/])
LENS-995 : QueryContextPriorityComparator should compare the priorities 
(sushilmohanty: rev b36a027748413db07099837bbd7c62207b95c896)
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryContextPriorityComparator.java
* 
lens-server/src/test/java/org/apache/lens/server/query/QueryContextComparatorTest.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
* lens-server/src/main/java/org/apache/lens/server/query/QueryComparator.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
* 
lens-server/src/test/java/org/apache/lens/server/query/collect/DefaultQueryCollectionTest.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryCostComparator.java
* 
lens-server/src/main/java/org/apache/lens/server/query/FIFOQueryComparator.java
* 
lens-server/src/test/java/org/apache/lens/server/query/QueryContextPriorityComparatorTest.java
* 
lens-server/src/test/java/org/apache/lens/server/query/collect/QueryCollectUtil.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryPriorityComparator.java


> QueryContextPriorityComparator should compare the priorities instead of cost
> ----------------------------------------------------------------------------
>
>                 Key: LENS-995
>                 URL: https://issues.apache.org/jira/browse/LENS-995
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Sushil Mohanty
>             Fix For: 2.6
>
>         Attachments: LENS-995-3.patch
>
>
> Right now, we are comparing queries on query cost and queries with same 
> priority can change position in queue, because of cost values being different.
> Instead we should compare on priority instead of cost sothat the position of 
> query does not change within the same priority bucket.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to