hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2827) Fix bugs of yarn queue CLI
Date Fri, 07 Nov 2014 20:03:35 GMT

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

Hudson commented on YARN-2827:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #6482 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6482/])
YARN-2827. Fixed bugs in "yarn queue" CLI. Contributed by Wangda Tan. (vinodkv: rev a71e9302a9dbbb702c8c50a4fdaa508f912561d6)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestYarnCLI.java
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/QueueCLI.java


> Fix bugs of yarn queue CLI
> --------------------------
>
>                 Key: YARN-2827
>                 URL: https://issues.apache.org/jira/browse/YARN-2827
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: client
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>            Priority: Critical
>             Fix For: 2.6.0
>
>         Attachments: YARN-2827-branch_2-1.patch, YARN-2827.1.patch, YARN-2827.1.patch
>
>
> Need fix bugs:
> 1) args of queue CLI is without "queue" even if you run with "yarn queue -status ..",
the args is ["-status", "..."]. The assumption is incorrect.
> 2) It is possible that there's no related QueueInfo with specified queue name, and null
will be returned from YarnClient, so NPE will raise. Added a check for it, and will print
proper message
> 3) When failed to get QueueInfo, should return non-zero exit code.
> 4) Add tests for above.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message