[
https://issues.apache.org/jira/browse/AMBARI-15876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swapan Shridhar updated AMBARI-15876:
-------------------------------------
Description:
--> 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 %
was:
--> 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 %
> 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)