Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15876

Stack advisor work for adding and disabling LLAP queue when Interactive query is turned on and off respectively.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    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 %

      Attachments

        1. AMBARI-15876.patch
          106 kB
          Swapan Shridhar

        Issue Links

          Activity

            People

              swapanshridhar Swapan Shridhar
              swapanshridhar Swapan Shridhar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: