You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Archana H (JIRA)" <ji...@apache.org> on 2016/08/18 09:11:20 UTC

[jira] [Commented] (LENS-995) QueryContextPriorityComparator should compare the priorities instead of cost

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

Archana H commented on LENS-995:
--------------------------------

regression test for the same queueNumberChangeWithInSamePriority,  queueNumberChangeDifferentPriority, queueNumberChangeDifferentPriorityWithJdbc  in ITCostsTest.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)