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

Improve moveApplicationQueues command line

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha2
    • Component/s: client
    • Labels:
      None
    • Hadoop Flags:
      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.0002.patch
          9 kB
          Sunil G
        2. YARN-6001.0001.patch
          8 kB
          Sunil G

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: