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 34BE1198B0 for ; Sat, 16 Apr 2016 03:37:26 +0000 (UTC) Received: (qmail 13020 invoked by uid 500); 16 Apr 2016 03:37:26 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 12987 invoked by uid 500); 16 Apr 2016 03:37:26 -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 12887 invoked by uid 99); 16 Apr 2016 03:37: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 03:37:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A94552C1F62 for ; Sat, 16 Apr 2016 03:37:25 +0000 (UTC) Date: Sat, 16 Apr 2016 03:37:25 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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: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)