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

Gunther Hagleitner commented on HIVE-10647:
-------------------------------------------

[~vikram.dixit]: 
   * I think you should replace the BlockingArray<Boolean> with a counting 
semaphore. 
   * The default for this value seems to be 1 - I think it should be 
unrestricted by default.
   * Since there's only one call to getLlapMode to TezWork you could just make 
this call cycle through basework instead of adding another bool to the class. 
If you really prefer the bool, I think TezWork should support the methods 
setLlapMode/clearLlap mode w/o params (since it's not a straight forward yay or 
nay).

> Hive on LLAP: Limit HS2 from overwhelming LLAP
> ----------------------------------------------
>
>                 Key: HIVE-10647
>                 URL: https://issues.apache.org/jira/browse/HIVE-10647
>             Project: Hive
>          Issue Type: Bug
>          Components: Tez
>    Affects Versions: llap
>            Reporter: Vikram Dixit K
>            Assignee: Vikram Dixit K
>         Attachments: HIVE-10647.1.patch
>
>
> We want to restrict the number of queries that flow through LLAP. 



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

Reply via email to