[
https://issues.apache.org/jira/browse/LENS-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307828#comment-15307828
]
Rajat Khandelwal commented on LENS-661:
---------------------------------------
Committed. Thanks [~anshul.gupta]
> Add Weighted Driver selector for selecting driver among hive and spark drivers
> ------------------------------------------------------------------------------
>
> Key: LENS-661
> URL: https://issues.apache.org/jira/browse/LENS-661
> Project: Apache Lens
> Issue Type: Sub-task
> Components: driver-hive
> Affects Versions: 2.5
> Reporter: Raju Bairishetti
> Assignee: Anshul Gupta
> Fix For: 2.6
>
> Attachments: rb47777.patch
>
>
> Spark Driver also uses hive thrift server as an execution engine. Both spark
> and hive drivers are eligible for executing the same cube query. Right now,
> Jdbc has Query cost 0.0 and Hive driver has 1.0. Spark driver also uses same
> query cost as hive driver which is 1.0.
> We can introduce a weighted driver selector which will submit configured % of
> queries to spark driver for execution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)