Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6BDE19D69 for ; Sat, 16 Apr 2016 09:25:25 +0000 (UTC) Received: (qmail 97999 invoked by uid 500); 16 Apr 2016 09:25:25 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 97930 invoked by uid 500); 16 Apr 2016 09:25:25 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 97907 invoked by uid 99); 16 Apr 2016 09:25:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2016 09:25:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 776942C1F5C for ; Sat, 16 Apr 2016 09:25:25 +0000 (UTC) Date: Sat, 16 Apr 2016 09:25:25 +0000 (UTC) From: "Swapan Shridhar (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-15876) Stack advisor work for adding and disabling LLAP queue when Interactive query is turned on and off respectively. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Swapan Shridhar updated AMBARI-15876: ------------------------------------- Attachment: AMBARI-15876.patch > 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)