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

Improve moveApplicationQueues command line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • client
    • None
    • Reviewed

    Description

      As an example, below command is used to move an application across queue.

      ./yarn application -movetoqueue  application_1479894790219_0002 -queue default

      Inline with other application's attribute modification features such as updateTimeout or priority, movetoqueue cli command lacks unification and more complex or error prone.

      Suggesting below cli command which can be used.

      ./yarn application -appId application_1479894790219_0002 -move default
      

      This is inline with other commands such as

      ./yarn application -appId  application_1479894790219_0002 -updatePriority 8 
      ./yarn application -appId  application_1479894790219_0002 -updateLifetime 10
      

      Old movetoqueue command could be still kept, but we can mark it as deprecated and mention in help message.

      Attachments

        1. YARN-6001.0001.patch
          8 kB
          Sunil G
        2. YARN-6001.0002.patch
          9 kB
          Sunil G

        Activity

          People

            sunilg Sunil G
            sunilg Sunil G
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: