[
https://issues.apache.org/jira/browse/YARN-7193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Yang updated YARN-7193:
----------------------------
Attachment: YARN-7193.yarn-native-services.006.patch
Refine patch to depend on changes in YARN-7217.
> 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
> 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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]