You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2018/08/17 17:58:00 UTC

[jira] [Created] (AMBARI-24501) Update UpgradeSummary to Include Mpack Information

Jonathan Hurley created AMBARI-24501:
----------------------------------------

             Summary: Update UpgradeSummary to Include Mpack Information
                 Key: AMBARI-24501
                 URL: https://issues.apache.org/jira/browse/AMBARI-24501
             Project: Ambari
          Issue Type: Task
    Affects Versions: 3.0.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
             Fix For: 3.0.0


The {{upgradeSummary}} object being sent down during an upgrade needs to be updated to include the following fields:

- Mpack To/From Information
- Service Group To/From/Type Information
- Component Version Information

The proposed structure is as follows:
{code}
      "upgradeSummary": {
        "serviceGroups":{
          "SG1":{
            "type":"express_upgrade",
            "serviceGroupId": 1,
            "serviceGroupName": "SG1",
            "sourceMpackId": 50,
            "targetMpackId": 100,
            "sourceStack": "HDPCORE-1.0",
            "targetStack": "HDPCORE-1.5",
            "sourceMpackVersion": "1.0.0.0-b1",
            "targetMpackVersion": "1.5.0.0-b1",
            "services":{
              "HDFS":{
                "serviceName": "HDFS",
                "sourceVersion":"3.0.0.0-b1",
                "targetVersion":"3.1.0.0-b1",
                "components": {
                  "componentName": "NAMENODE",
                  "sourceVersion": "3.0.0.0-b1",
                  "targetVersion":"3.1.0.0-b1",
                }
              }
            }
          }
        }
{code}



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