Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9414 Application Catalog for YARN applications
  3. YARN-7193

Implement REST API for register Yarnfile in application catalog

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 3.1.0
    • None
    • applications
    • None

    Description

      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:

      POST /ws/v1/app/register
      

      Register an Application.

      GET /ws/v1/app/search?q=[text]
      

      Find application base on search text.

      GET /ws/v1/app/recommend
      

      The default list of recommended applications.

      The data structure for YARN application looks like this:

      {
        "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": {
          ...
        }
      }
      

      Where services is the Yarn native services object.

      Attachments

        1. YARN-7193.yarn-native-services.006.patch
          50 kB
          Eric Yang
        2. YARN-7193.yarn-native-services.005.patch
          145 kB
          Eric Yang
        3. YARN-7193.yarn-native-services.004.patch
          146 kB
          Eric Yang
        4. YARN-7193.yarn-native-services.003.patch
          132 kB
          Eric Yang
        5. YARN-7193.yarn-native-services.002.patch
          129 kB
          Eric Yang
        6. YARN-7193.yarn-native-services.001.patch
          128 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            eyang Eric Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: