Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7054 Yarn Service Phase 2
  3. YARN-7323

Data structure update in service REST API

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: yarn-native-services
    • Component/s: None
    • Labels:
      None

      Description

      Changes include

      • removed the functionality of creating default component if no component specified, this means we always expect user to specify a component.
      • removed number_of_containers, launch_command, containers from the Service resource object, assuming that each Component has to
        specify these. resource and artifact in Service object will still remain as the default value for component.
      • Added a ComponentState object.
      • Changed the actionCreate to look for the example service from a secondary location.
      • Fixed a bug in ComponentInstance to handle STOP event on INIT, in case container completed before it gets launched.

        Attachments

          Activity

            People

            • Assignee:
              jianhe Jian He
              Reporter:
              jianhe Jian He
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: