hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3970) REST api support for Application Priority
Date Tue, 01 Sep 2015 04:16:46 GMT

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

Naganarasimha G R commented on YARN-3970:
-----------------------------------------

Thanks [~vvasudev], for the review.
bq. Can you add a GET method for the priority as well?
Application's Priority is currently available as part of the application report ({{/apps}}
or {{/apps/\{appid\}}}) , explicit separate API for getting Application Priority is req ?

bq.The JSON produced converts the integer to a string({"priority":"8"})
Adding it to JAXBContextResolver.rootUnWrappedTypes worked as you suggested, but wanted to
know when to put to {{rootUnWrappedTypes}} and {{cTypes}} i.e. when rootUnwrapping needs to
be set to true and when to false? 

Only 3rd checkstyle issue is valid and once [~vvasudev] confirms, will provide the corrections
in next patch

> REST api support for Application Priority
> -----------------------------------------
>
>                 Key: YARN-3970
>                 URL: https://issues.apache.org/jira/browse/YARN-3970
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: webapp
>    Affects Versions: 2.7.1
>            Reporter: Sunil G
>            Assignee: Naganarasimha G R
>         Attachments: YARN-3970.20150828-1.patch, YARN-3970.20150829-1.patch, YARN-3970.20150831-1.patch
>
>
> REST api support for application priority.
> - get/set priority of an application
> - get default priority of a queue
> - get cluster max priority



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

Mime
View raw message