Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10661

Add option to scale down specific containers in flex API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • yarn
    • None

    Description

      We can flex the number of containers in yarn-service. But currently we do not have option to specify which containers are to be scaled down. This is useful in scaling down Hive LLAP clusters. For example - 

      2021-02-22 12:52:58,983 [IPC Server handler 0 on 24799] INFO  service.ClientAMService - Flexing component llap to 42021-02-22 12:52:58,983 [Component  dispatcher] INFO  component.Component - [FLEX DOWN COMPONENT llap]: scaling down from 6 to 42021-02-22 12:52:58,984 [Component  dispatcher] INFO  instance.ComponentInstance - [COMPINSTANCE llap-5 : container_e02_1613896771789_0071_01_000007]: Flexed down by user, destroying.2021-02-22 12:52:58,987 [Component  dispatcher] INFO  instance.ComponentInstance - [COMPINSTANCE llap-4 : container_e02_1613896771789_0071_01_000006]: Flexed down by user, destroying. 
      

      Last added containers are first ones to be destroyed. This might not be the most optimal approach as we would like the least loaded(in terms of executors) containers to be destroyed first.

      To enable this, we propose an option to add the list of containers that can be scaled down by flexing. 

      Attachments

        Activity

          People

            abhinaba.sarkar Abhinaba Sarkar
            abhinaba.sarkar Abhinaba Sarkar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: