Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 61299200BEB for ; Wed, 28 Dec 2016 08:13:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5FD38160B34; Wed, 28 Dec 2016 07:13:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AB8C9160B19 for ; Wed, 28 Dec 2016 08:12:59 +0100 (CET) Received: (qmail 56247 invoked by uid 500); 28 Dec 2016 07:12:58 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 56220 invoked by uid 99); 28 Dec 2016 07:12:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2016 07:12:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 893A12C2A67 for ; Wed, 28 Dec 2016 07:12:58 +0000 (UTC) Date: Wed, 28 Dec 2016 07:12:58 +0000 (UTC) From: "Hudson (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-6001) Improve moveApplicationQueues command line MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Dec 2016 07:13:00 -0000 [ https://issues.apache.org/jira/browse/YARN-6001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15782263#comment-15782263 ] Hudson commented on YARN-6001: ------------------------------ SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11047 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11047/]) YARN-6001. Improve moveApplicationQueues command line. Contributed by (rohithsharmaks: rev e297be74ed4c4334bf48dd01d3b10e302147041d) * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestYarnCLI.java * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/ApplicationCLI.java > Improve moveApplicationQueues command line > ------------------------------------------ > > Key: YARN-6001 > URL: https://issues.apache.org/jira/browse/YARN-6001 > Project: Hadoop YARN > Issue Type: Bug > Components: client > Reporter: Sunil G > Assignee: Sunil G > Fix For: 2.9.0, 3.0.0-alpha2 > > Attachments: YARN-6001.0001.patch, YARN-6001.0002.patch > > > As an example, below command is used to move an application across queue. {noformat}./yarn application -movetoqueue application_1479894790219_0002 -queue default{noformat} > 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. > {noformat} > ./yarn application -appId application_1479894790219_0002 -move default > {noformat} > This is inline with other commands such as > {noformat} > ./yarn application -appId application_1479894790219_0002 -updatePriority 8 > ./yarn application -appId application_1479894790219_0002 -updateLifetime 10 > {noformat} > Old *movetoqueue* command could be still kept, but we can mark it as deprecated and mention in help message. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org