hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6001) Improve moveApplicationQueues command line
Date Sun, 18 Dec 2016 04:40:58 GMT

    [ https://issues.apache.org/jira/browse/YARN-6001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15758189#comment-15758189
] 

Sunil G commented on YARN-6001:
-------------------------------

[~yufeigu], I understood your point. Definitely "movetoqueue" was clear option, i think "changeQueue/changeToQueue"
is also not very bad. It may confuse, but we can make it more clearer with help message. I
think I can add more information in the "help" for  changeQueue to indicate this. Some thing
like
{noformat}
changeQueue: Moves application to a new queue. ApplicationId can be passed using 'appId' option.

'movetoqueue' command is deprecated, this new command 'changeQueue' performs same functionality.
{noformat}

> 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
>         Attachments: YARN-6001.0001.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


Mime
View raw message