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

Hudson commented on AMBARI-15876:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4667 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4667/])
AMBARI-15876. HiveServerInteractive. Stack advisor work for adding and (swapan: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a224f2657bfe17d6047fa7dbb6dc5599fc964567])
* 
ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml
* 
ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-env.xml
* ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
* ambari-server/src/test/python/stacks/2.5/common/test_stack_advisor.py
* 
ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/configuration/capacity-scheduler.xml


> Stack advisor work for adding and disabling LLAP queue when Interactive query 
> is turned on and off respectively.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-15876
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15876
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Swapan Shridhar
>            Assignee: Swapan Shridhar
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15876.patch
>
>
> --> When Hive Server Interactive is turned ON:
> ===================================
>   Ambari creates OR "modifies 'llap' queue 'state and/or capacity' " based on 
> below conditions:
>        -  if only 1 queue exists at root level and is 'default' queue and has 
> 100% cap -> Creates 'llap' queue,  OR
>        -  if 2 queues exists at root level ('llap' and 'default') :
>            -> 'llap' queue state is STOPPED -> Modifies 'llap' queue state to 
> RUNNING, adjusts capacity, OR
>            -> 'llap' queue state is RUNNING and 'llap_queue_capacity' prop != 
> 'llap' queue current running capacity ->
>               Modifies 'llap' queue capacity to 'llap_queue_capacity'.
>               
> --> When Hive Server Interactive is turned OFF:
> ===================================
>       -   Checks and sees (1). If only two leaf queues exist at root level, 
> namely: 'default' and 'llap',
>                   and (2). 'llap' is in RUNNING state.
>       - If yes, performs the following actions:   (1). 'llap' queue state set 
> to STOPPED,
>                                                 (2). 'llap' queue capacity 
> set to 0 %,
>                                                 (3). 'default' queue capacity 
> set to 100 %



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

Reply via email to