You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2019/03/05 16:52:00 UTC

[jira] [Resolved] (YARN-7193) Implement REST API for register Yarnfile in application catalog

     [ https://issues.apache.org/jira/browse/YARN-7193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang resolved YARN-7193.
-----------------------------
    Resolution: Implemented

Subset of this has been implemented upstream in YARN-7129 commit.  It is too late to make API changes as discussed in YARN-7217.  Close as implemented.

> Implement REST API for register Yarnfile in application catalog
> ---------------------------------------------------------------
>
>                 Key: YARN-7193
>                 URL: https://issues.apache.org/jira/browse/YARN-7193
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: applications
>    Affects Versions: 3.1.0
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>         Attachments: YARN-7193.yarn-native-services.001.patch, YARN-7193.yarn-native-services.002.patch, YARN-7193.yarn-native-services.003.patch, YARN-7193.yarn-native-services.004.patch, YARN-7193.yarn-native-services.005.patch, YARN-7193.yarn-native-services.006.patch
>
>
> For support ability to register and index Yarnfile, we need a set of REST API to register, search, and recommend applications from application catalog.  The proposed API are:
> {code}
> POST /ws/v1/app/register
> {code}
> Register an Application.
> {code}
> GET /ws/v1/app/search?q=[text]
> {code}
> Find application base on search text.
> {code}
> GET /ws/v1/app/recommend
> {code}
> The default list of recommended applications.
> The data structure for YARN application looks like this:
> {code}
> {
>   "org": "jenkins.org",
>   "name": "jenkins",
>   "description": "The most popular open source automation server.",
>   "icon": "/ws/v1/app/icon/jenkins.png",
>   "downloads": 123,
>   "likes": 123,
>   "services": {
>     ...
>   }
> }
> {code}
> Where services is the Yarn native services object.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org