Преглед на файлове

AMBARI-16674. Cluster deployment fails when using base stack version. (jaimin)

Jaimin Jetly преди 9 години
родител
ревизия
7f333cc027

+ 2530 - 346
ambari-web/app/assets/data/wizard/stack/HDP_version_definitions.json

@@ -1,551 +1,2735 @@
+
 {
 {
-  "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions?fields=operating_systems/repositories/Repositories/*,VersionDefinition/stack_services&show_available=true&VersionDefinition/stack_name=HDP",
+  "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions?fields=VersionDefinition/stack_default,operating_systems/repositories/Repositories/*,operating_systems/OperatingSystems/*,VersionDefinition/stack_services,VersionDefinition/repository_version&VersionDefinition/show_available=true&VersionDefinition/stack_name=HDP",
   "items" : [
   "items" : [
     {
     {
+      "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2",
       "VersionDefinition" : {
       "VersionDefinition" : {
-        "id" : 1,
-        "show_available": true,
+        "id" : "HDP-2.2",
+        "repository_version" : "2.2",
+        "show_available" : true,
+        "stack_default" : true,
         "stack_name" : "HDP",
         "stack_name" : "HDP",
-        "stack_version" : "2.3",
-        "repository_version" : "2.3.4.0-3396",
-        "type" : "STANDARD",
-        "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3396.xml",
-        "release" : {
-          "build" : "3396",
-          "compatible_with" : "2.3.[0-3].0",
-          "notes" : "http://example.com",
-          "version" : "2.3.4.0"
-        },
         "stack_services" : [
         "stack_services" : [
           {
           {
-            "name" : "HDFS",
-            "display_name" : "HDFS",
-            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+            "name" : "TEZ",
+            "display_name" : "Tez",
+            "comment" : "Tez is the next generation Hadoop Query Processing framework written on top of YARN.",
+            "versions" : [
+              "0.5.2.2.2"
+            ]
+          },
+          {
+            "name" : "KERBEROS",
+            "display_name" : "Kerberos",
+            "comment" : "A computer network authentication protocol which works on\n        the basis of 'tickets' to allow nodes communicating over a\n        non-secure network to prove their identity to one another in a\n        secure manner.\n      ",
             "versions" : [
             "versions" : [
-              "2.7.1.2.3396"
+              "1.10.3-10"
             ]
             ]
           },
           },
           {
           {
             "name" : "YARN",
             "name" : "YARN",
             "display_name" : "YARN",
             "display_name" : "YARN",
-            "comment" : "",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.6.0.2.2"
+            ]
+          },
+          {
+            "name" : "FLUME",
+            "display_name" : "Flume",
+            "comment" : "A distributed service for collecting, aggregating, and moving large amounts of streaming data into HDFS",
+            "versions" : [
+              "1.5.2.2.2"
+            ]
+          },
+          {
+            "name" : "SMARTSENSE",
+            "display_name" : "SmartSense",
+            "comment" : "SmartSense - Hortonworks SmartSense Tool (HST) helps quickly\n        gather configuration, metrics, logs from common HDP services that\n        aids to quickly troubleshoot support cases and receive\n        cluster-specific recommendations.\n      ",
+            "versions" : [
+              "1.2.2.0-567"
+            ]
+          },
+          {
+            "name" : "RANGER",
+            "display_name" : "Ranger",
+            "comment" : "Comprehensive security for Hadoop",
+            "versions" : [
+              "0.4.0"
+            ]
+          },
+          {
+            "name" : "SPARK",
+            "display_name" : "Spark",
+            "comment" : "Apache Spark is a fast and general engine for large-scale data processing.",
+            "versions" : [
+              "1.2.1.2.2"
+            ]
+          },
+          {
+            "name" : "AMBARI_METRICS",
+            "display_name" : "Ambari Metrics",
+            "comment" : "A system for metrics collection that provides storage and retrieval capability for metrics collected from the cluster\n      ",
+            "versions" : [
+              "0.1.0"
+            ]
+          },
+          {
+            "name" : "OOZIE",
+            "display_name" : "Oozie",
+            "comment" : "System for workflow coordination and execution of Apache Hadoop jobs.  This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n      ",
+            "versions" : [
+              "4.1.0.2.2"
+            ]
+          },
+          {
+            "name" : "HIVE",
+            "display_name" : "Hive",
+            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+            "versions" : [
+              "0.14.0.2.2"
+            ]
+          },
+          {
+            "name" : "LOGSEARCH",
+            "display_name" : "Log Search",
+            "comment" : "Log aggregation, analysis, and visualization for Ambari managed services",
+            "versions" : [
+              "0.5.0"
+            ]
+          },
+          {
+            "name" : "FALCON",
+            "display_name" : "Falcon",
+            "comment" : "Data management and processing platform",
+            "versions" : [
+              "0.6.0.2.2"
+            ]
+          },
+          {
+            "name" : "SQOOP",
+            "display_name" : "Sqoop",
+            "comment" : "Tool for transferring bulk data between Apache Hadoop and\n        structured data stores such as relational databases\n      ",
+            "versions" : [
+              "1.4.5.2.2"
+            ]
+          },
+          {
+            "name" : "KNOX",
+            "display_name" : "Knox",
+            "comment" : "Provides a single point of authentication and access for Apache Hadoop services in a cluster",
+            "versions" : [
+              "0.5.0.2.2"
+            ]
+          },
+          {
+            "name" : "STORM",
+            "display_name" : "Storm",
+            "comment" : "Apache Hadoop Stream processing framework",
+            "versions" : [
+              "0.9.3.2.2"
+            ]
+          },
+          {
+            "name" : "MAPREDUCE2",
+            "display_name" : "MapReduce2",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
             "versions" : [
             "versions" : [
-              "1.7.3.3396"
+              "2.6.0.2.2"
             ]
             ]
           },
           },
           {
           {
             "name" : "ZOOKEEPER",
             "name" : "ZOOKEEPER",
             "display_name" : "ZooKeeper",
             "display_name" : "ZooKeeper",
-            "comment" : "",
+            "comment" : "Centralized service which provides highly reliable distributed coordination",
+            "versions" : [
+              "3.4.6.2.2"
+            ]
+          },
+          {
+            "name" : "KAFKA",
+            "display_name" : "Kafka",
+            "comment" : "A high-throughput distributed messaging system",
+            "versions" : [
+              "0.8.1.2.2"
+            ]
+          },
+          {
+            "name" : "HDFS",
+            "display_name" : "HDFS",
+            "comment" : "Apache Hadoop Distributed File System",
+            "versions" : [
+              "2.6.0.2.2"
+            ]
+          },
+          {
+            "name" : "HBASE",
+            "display_name" : "HBase",
+            "comment" : "Non-relational distributed database and centralized service for configuration management &\n        synchronization\n      ",
+            "versions" : [
+              "0.98.4.2.2"
+            ]
+          },
+          {
+            "name" : "GANGLIA",
+            "display_name" : "Ganglia",
+            "comment" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
+            "versions" : [
+              "3.5.0"
+            ]
+          },
+          {
+            "name" : "PIG",
+            "display_name" : "Pig",
+            "comment" : "Scripting platform for analyzing large datasets",
+            "versions" : [
+              "0.14.0.2.2"
+            ]
+          },
+          {
+            "name" : "SLIDER",
+            "display_name" : "Slider",
+            "comment" : "A framework for deploying, managing and monitoring existing distributed applications on YARN.",
             "versions" : [
             "versions" : [
-              "1.7.3.3396"
+              "0.60.0.2.2"
             ]
             ]
           }
           }
-        ]
+        ],
+        "stack_version" : "2.2"
       },
       },
       "operating_systems" : [
       "operating_systems" : [
         {
         {
-          "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7",
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/redhat6",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat6",
+            "stack_name" : "HDP",
+            "stack_version" : "2.2",
+            "version_definition_id" : "HDP-2.2"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/redhat6/repositories/HDP-2.2",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.2.6.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.2.6.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-2.2",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.2",
+                "version_definition_id" : "HDP-2.2"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.2",
+                "version_definition_id" : "HDP-2.2"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/suse11",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "suse11",
+            "stack_name" : "HDP",
+            "stack_version" : "2.2",
+            "version_definition_id" : "HDP-2.2"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/suse11/repositories/HDP-2.2",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.2.6.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.2.6.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-2.2",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.2",
+                "version_definition_id" : "HDP-2.2"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/suse11/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.2",
+                "version_definition_id" : "HDP-2.2"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/ubuntu12",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu12",
+            "stack_name" : "HDP",
+            "stack_version" : "2.2",
+            "version_definition_id" : "HDP-2.2"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/ubuntu12/repositories/HDP-2.2",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.6.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.6.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-2.2",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.2",
+                "version_definition_id" : "HDP-2.2"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.2/operating_systems/ubuntu12/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.2",
+                "version_definition_id" : "HDP-2.2"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3",
+      "VersionDefinition" : {
+        "id" : "HDP-2.3",
+        "repository_version" : "2.3",
+        "show_available" : true,
+        "stack_default" : true,
+        "stack_name" : "HDP",
+        "stack_services" : [
+          {
+            "name" : "FLUME",
+            "display_name" : "Flume",
+            "comment" : "A distributed service for collecting, aggregating, and moving large amounts of streaming data into HDFS",
+            "versions" : [
+              "1.5.2.2.3"
+            ]
+          },
+          {
+            "name" : "OOZIE",
+            "display_name" : "Oozie",
+            "comment" : "System for workflow coordination and execution of Apache Hadoop jobs.  This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n      ",
+            "versions" : [
+              "4.2.0.2.3"
+            ]
+          },
+          {
+            "name" : "HBASE",
+            "display_name" : "HBase",
+            "comment" : "A Non-relational distributed database, plus Phoenix, a high performance SQL layer for low latency applications.",
+            "versions" : [
+              "1.1.1.2.3"
+            ]
+          },
+          {
+            "name" : "KAFKA",
+            "display_name" : "Kafka",
+            "comment" : "A high-throughput distributed messaging system",
+            "versions" : [
+              "0.9.0.2.3"
+            ]
+          },
+          {
+            "name" : "HDFS",
+            "display_name" : "HDFS",
+            "comment" : "Apache Hadoop Distributed File System",
+            "versions" : [
+              "2.7.1.2.3"
+            ]
+          },
+          {
+            "name" : "ATLAS",
+            "display_name" : "Atlas",
+            "comment" : "Atlas Metadata and Governance platform",
+            "versions" : [
+              "0.5.0.2.3"
+            ]
+          },
+          {
+            "name" : "SQOOP",
+            "display_name" : "Sqoop",
+            "comment" : "Tool for transferring bulk data between Apache Hadoop and\n        structured data stores such as relational databases\n      ",
+            "versions" : [
+              "1.4.6.2.3"
+            ]
+          },
+          {
+            "name" : "STORM",
+            "display_name" : "Storm",
+            "comment" : "Apache Hadoop Stream processing framework",
+            "versions" : [
+              "0.10.0.2.3"
+            ]
+          },
+          {
+            "name" : "TEZ",
+            "display_name" : "Tez",
+            "comment" : "Tez is the next generation Hadoop Query Processing framework written on top of YARN.",
+            "versions" : [
+              "0.7.0.2.3"
+            ]
+          },
+          {
+            "name" : "GANGLIA",
+            "display_name" : "Ganglia",
+            "comment" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
+            "versions" : [
+              "3.5.0"
+            ]
+          },
+          {
+            "name" : "MAHOUT",
+            "display_name" : "Mahout",
+            "comment" : "\n        Project of the Apache Software Foundation to produce free implementations of distributed or\n        otherwise scalable machine learning algorithms focused primarily in the areas of collaborative\n        filtering, clustering and classification\n      ",
+            "versions" : [
+              "0.9.0.2.3"
+            ]
+          },
+          {
+            "name" : "FALCON",
+            "display_name" : "Falcon",
+            "comment" : "Data management and processing platform",
+            "versions" : [
+              "0.6.1.2.3"
+            ]
+          },
+          {
+            "name" : "ZOOKEEPER",
+            "display_name" : "ZooKeeper",
+            "comment" : "Centralized service which provides highly reliable distributed coordination",
+            "versions" : [
+              "3.4.6.2.3"
+            ]
+          },
+          {
+            "name" : "RANGER_KMS",
+            "display_name" : "Ranger KMS",
+            "comment" : "Key Management Server",
+            "versions" : [
+              "0.5.0.2.3"
+            ]
+          },
+          {
+            "name" : "SMARTSENSE",
+            "display_name" : "SmartSense",
+            "comment" : "SmartSense - Hortonworks SmartSense Tool (HST) helps quickly\n        gather configuration, metrics, logs from common HDP services that\n        aids to quickly troubleshoot support cases and receive\n        cluster-specific recommendations.\n      ",
+            "versions" : [
+              "1.2.2.0-567"
+            ]
+          },
+          {
+            "name" : "AMBARI_METRICS",
+            "display_name" : "Ambari Metrics",
+            "comment" : "A system for metrics collection that provides storage and retrieval capability for metrics collected from the cluster\n      ",
+            "versions" : [
+              "0.1.0"
+            ]
+          },
+          {
+            "name" : "MAPREDUCE2",
+            "display_name" : "MapReduce2",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.3"
+            ]
+          },
+          {
+            "name" : "SLIDER",
+            "display_name" : "Slider",
+            "comment" : "A framework for deploying, managing and monitoring existing distributed applications on YARN.",
+            "versions" : [
+              "0.80.0.2.3"
+            ]
+          },
+          {
+            "name" : "LOGSEARCH",
+            "display_name" : "Log Search",
+            "comment" : "Log aggregation, analysis, and visualization for Ambari managed services",
+            "versions" : [
+              "0.5.0"
+            ]
+          },
+          {
+            "name" : "KERBEROS",
+            "display_name" : "Kerberos",
+            "comment" : "A computer network authentication protocol which works on\n        the basis of 'tickets' to allow nodes communicating over a\n        non-secure network to prove their identity to one another in a\n        secure manner.\n      ",
+            "versions" : [
+              "1.10.3-10"
+            ]
+          },
+          {
+            "name" : "RANGER",
+            "display_name" : "Ranger",
+            "comment" : "Comprehensive security for Hadoop",
+            "versions" : [
+              "0.5.0.2.3"
+            ]
+          },
+          {
+            "name" : "ACCUMULO",
+            "display_name" : "Accumulo",
+            "comment" : "Robust, scalable, high performance distributed key/value store.\n      ",
+            "versions" : [
+              "1.7.0.2.3"
+            ]
+          },
+          {
+            "name" : "YARN",
+            "display_name" : "YARN",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.3"
+            ]
+          },
+          {
+            "name" : "PIG",
+            "display_name" : "Pig",
+            "comment" : "Scripting platform for analyzing large datasets",
+            "versions" : [
+              "0.15.0.2.3"
+            ]
+          },
+          {
+            "name" : "KNOX",
+            "display_name" : "Knox",
+            "comment" : "Provides a single point of authentication and access for Apache Hadoop services in a cluster",
+            "versions" : [
+              "0.6.0.2.3"
+            ]
+          },
+          {
+            "name" : "SPARK",
+            "display_name" : "Spark",
+            "comment" : "Apache Spark is a fast and general engine for large-scale data processing.",
+            "versions" : [
+              "1.5.2.2.3"
+            ]
+          },
+          {
+            "name" : "HIVE",
+            "display_name" : "Hive",
+            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+            "versions" : [
+              "1.2.1.2.3"
+            ]
+          }
+        ],
+        "stack_version" : "2.3"
+      },
+      "operating_systems" : [
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/debian7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "debian7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3",
+            "version_definition_id" : "HDP-2.3"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/debian7/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/redhat6",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat6",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3",
+            "version_definition_id" : "HDP-2.3"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/redhat6/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/redhat7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3",
+            "version_definition_id" : "HDP-2.3"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/redhat7/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/suse11",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "suse11",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3",
+            "version_definition_id" : "HDP-2.3"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/suse11/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/suse11/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/ubuntu12",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu12",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3",
+            "version_definition_id" : "HDP-2.3"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/ubuntu12/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/ubuntu12/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/ubuntu14",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu14",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3",
+            "version_definition_id" : "HDP-2.3"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/ubuntu14/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3/operating_systems/ubuntu14/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3",
+                "version_definition_id" : "HDP-2.3"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS",
+      "VersionDefinition" : {
+        "id" : "HDP-2.3.ECS",
+        "repository_version" : "2.3.ECS",
+        "show_available" : true,
+        "stack_default" : true,
+        "stack_name" : "HDP",
+        "stack_services" : [
+          {
+            "name" : "ECS",
+            "display_name" : "ECS",
+            "comment" : "Hadoop Compatible File System Client for ECS",
+            "versions" : [
+              "2.3.0.0"
+            ]
+          },
+          {
+            "name" : "YARN",
+            "display_name" : "YARN",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.3"
+            ]
+          },
+          {
+            "name" : "SMARTSENSE",
+            "display_name" : "SmartSense",
+            "comment" : "SmartSense - Hortonworks SmartSense Tool (HST) helps quickly\n        gather configuration, metrics, logs from common HDP services that\n        aids to quickly troubleshoot support cases and receive\n        cluster-specific recommendations.\n      ",
+            "versions" : [
+              "1.2.2.0-567"
+            ]
+          },
+          {
+            "name" : "AMBARI_METRICS",
+            "display_name" : "Ambari Metrics",
+            "comment" : "A system for metrics collection that provides storage and retrieval capability for metrics collected from the cluster\n      ",
+            "versions" : [
+              "0.1.0"
+            ]
+          },
+          {
+            "name" : "LOGSEARCH",
+            "display_name" : "Log Search",
+            "comment" : "Log aggregation, analysis, and visualization for Ambari managed services",
+            "versions" : [
+              "0.5.0"
+            ]
+          },
+          {
+            "name" : "KERBEROS",
+            "display_name" : "Kerberos",
+            "comment" : "A computer network authentication protocol which works on\n        the basis of 'tickets' to allow nodes communicating over a\n        non-secure network to prove their identity to one another in a\n        secure manner.\n      ",
+            "versions" : [
+              "1.10.3-10"
+            ]
+          },
+          {
+            "name" : "HIVE",
+            "display_name" : "Hive",
+            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+            "versions" : [
+              "1.2.1.2.3"
+            ]
+          },
+          {
+            "name" : "TEZ",
+            "display_name" : "Tez",
+            "comment" : "Tez is the next generation Hadoop Query Processing framework written on top of YARN.",
+            "versions" : [
+              "0.7.0.2.3"
+            ]
+          },
+          {
+            "name" : "HBASE",
+            "display_name" : "HBase",
+            "comment" : "A Non-relational distributed database, plus Phoenix, a high performance SQL layer for low latency applications.",
+            "versions" : [
+              "1.1.1.2.3"
+            ]
+          },
+          {
+            "name" : "MAPREDUCE2",
+            "display_name" : "MapReduce2",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.3"
+            ]
+          },
+          {
+            "name" : "PIG",
+            "display_name" : "Pig",
+            "comment" : "Scripting platform for analyzing large datasets",
+            "versions" : [
+              "0.15.0.2.3"
+            ]
+          },
+          {
+            "name" : "GANGLIA",
+            "display_name" : "Ganglia",
+            "comment" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
+            "versions" : [
+              "3.5.0"
+            ]
+          },
+          {
+            "name" : "ZOOKEEPER",
+            "display_name" : "ZooKeeper",
+            "comment" : "Centralized service which provides highly reliable distributed coordination",
+            "versions" : [
+              "3.4.6.2.3"
+            ]
+          }
+        ],
+        "stack_version" : "2.3.ECS"
+      },
+      "operating_systems" : [
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/debian7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "debian7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3.ECS",
+            "version_definition_id" : "HDP-2.3.ECS"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/debian7/repositories/ECS-2.2.0.0",
+              "Repositories" : {
+                "base_url" : "http://ECS_CLIENT_REPO/",
+                "default_base_url" : "http://ECS_CLIENT_REPO/",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "ECS-2.2.0.0",
+                "repo_name" : "ECS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/debian7/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat6",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat6",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3.ECS",
+            "version_definition_id" : "HDP-2.3.ECS"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat6/repositories/ECS-2.2.0.0",
+              "Repositories" : {
+                "base_url" : "http://ECS_CLIENT_REPO/",
+                "default_base_url" : "http://ECS_CLIENT_REPO/",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "ECS-2.2.0.0",
+                "repo_name" : "ECS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat6/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3.ECS",
+            "version_definition_id" : "HDP-2.3.ECS"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat7/repositories/ECS-2.2.0.0",
+              "Repositories" : {
+                "base_url" : "http://ECS_CLIENT_REPO/",
+                "default_base_url" : "http://ECS_CLIENT_REPO/",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "ECS-2.2.0.0",
+                "repo_name" : "ECS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat7/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/suse11",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "suse11",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3.ECS",
+            "version_definition_id" : "HDP-2.3.ECS"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/suse11/repositories/ECS-2.2.0.0",
+              "Repositories" : {
+                "base_url" : "http://ECS_CLIENT_REPO/",
+                "default_base_url" : "http://ECS_CLIENT_REPO/",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "ECS-2.2.0.0",
+                "repo_name" : "ECS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/suse11/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/suse11/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu12",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu12",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3.ECS",
+            "version_definition_id" : "HDP-2.3.ECS"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu12/repositories/ECS-2.2.0.0",
+              "Repositories" : {
+                "base_url" : "http://ECS_CLIENT_REPO/",
+                "default_base_url" : "http://ECS_CLIENT_REPO/",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "ECS-2.2.0.0",
+                "repo_name" : "ECS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu12/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu12/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu14",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu14",
+            "stack_name" : "HDP",
+            "stack_version" : "2.3.ECS",
+            "version_definition_id" : "HDP-2.3.ECS"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu14/repositories/ECS-2.2.0.0",
+              "Repositories" : {
+                "base_url" : "http://ECS_CLIENT_REPO/",
+                "default_base_url" : "http://ECS_CLIENT_REPO/",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "ECS-2.2.0.0",
+                "repo_name" : "ECS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu14/repositories/HDP-2.3",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.3.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "HDP-2.3",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.3.ECS/operating_systems/ubuntu14/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.3.ECS",
+                "version_definition_id" : "HDP-2.3.ECS"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4",
+      "VersionDefinition" : {
+        "id" : "HDP-2.4",
+        "repository_version" : "2.4",
+        "show_available" : true,
+        "stack_default" : true,
+        "stack_name" : "HDP",
+        "stack_services" : [
+          {
+            "name" : "ZOOKEEPER",
+            "display_name" : "ZooKeeper",
+            "comment" : "Centralized service which provides highly reliable distributed coordination",
+            "versions" : [
+              "3.4.6.2.4"
+            ]
+          },
+          {
+            "name" : "TEZ",
+            "display_name" : "Tez",
+            "comment" : "Tez is the next generation Hadoop Query Processing framework written on top of YARN.",
+            "versions" : [
+              "0.7.0.2.4"
+            ]
+          },
+          {
+            "name" : "SLIDER",
+            "display_name" : "Slider",
+            "comment" : "A framework for deploying, managing and monitoring existing distributed applications on YARN.",
+            "versions" : [
+              "0.80.0.2.4"
+            ]
+          },
+          {
+            "name" : "HDFS",
+            "display_name" : "HDFS",
+            "comment" : "Apache Hadoop Distributed File System",
+            "versions" : [
+              "2.7.1.2.4"
+            ]
+          },
+          {
+            "name" : "RANGER",
+            "display_name" : "Ranger",
+            "comment" : "Comprehensive security for Hadoop",
+            "versions" : [
+              "0.5.0.2.4"
+            ]
+          },
+          {
+            "name" : "MAPREDUCE2",
+            "display_name" : "MapReduce2",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.4"
+            ]
+          },
+          {
+            "name" : "HBASE",
+            "display_name" : "HBase",
+            "comment" : "A Non-relational distributed database, plus Phoenix, a high performance SQL layer for low latency applications.",
+            "versions" : [
+              "1.1.2.2.4"
+            ]
+          },
+          {
+            "name" : "KNOX",
+            "display_name" : "Knox",
+            "comment" : "Provides a single point of authentication and access for Apache Hadoop services in a cluster",
+            "versions" : [
+              "0.6.0.2.4"
+            ]
+          },
+          {
+            "name" : "HIVE",
+            "display_name" : "Hive",
+            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+            "versions" : [
+              "1.2.1.2.4"
+            ]
+          },
+          {
+            "name" : "KAFKA",
+            "display_name" : "Kafka",
+            "comment" : "A high-throughput distributed messaging system",
+            "versions" : [
+              "0.9.0.2.4"
+            ]
+          },
+          {
+            "name" : "STORM",
+            "display_name" : "Storm",
+            "comment" : "Apache Hadoop Stream processing framework",
+            "versions" : [
+              "0.10.0.2.4"
+            ]
+          },
+          {
+            "name" : "GANGLIA",
+            "display_name" : "Ganglia",
+            "comment" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
+            "versions" : [
+              "3.5.0"
+            ]
+          },
+          {
+            "name" : "RANGER_KMS",
+            "display_name" : "Ranger KMS",
+            "comment" : "Key Management Server",
+            "versions" : [
+              "0.5.0.2.4"
+            ]
+          },
+          {
+            "name" : "SPARK",
+            "display_name" : "Spark",
+            "comment" : "Apache Spark is a fast and general engine for large-scale data processing.",
+            "versions" : [
+              "1.6.x.2.4"
+            ]
+          },
+          {
+            "name" : "MAHOUT",
+            "display_name" : "Mahout",
+            "comment" : "\n        Project of the Apache Software Foundation to produce free implementations of distributed or\n        otherwise scalable machine learning algorithms focused primarily in the areas of collaborative\n        filtering, clustering and classification\n      ",
+            "versions" : [
+              "0.9.0.2.4"
+            ]
+          },
+          {
+            "name" : "FLUME",
+            "display_name" : "Flume",
+            "comment" : "A distributed service for collecting, aggregating, and moving large amounts of streaming data into HDFS",
+            "versions" : [
+              "1.5.2.2.4"
+            ]
+          },
+          {
+            "name" : "YARN",
+            "display_name" : "YARN",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.4"
+            ]
+          },
+          {
+            "name" : "SMARTSENSE",
+            "display_name" : "SmartSense",
+            "comment" : "SmartSense - Hortonworks SmartSense Tool (HST) helps quickly\n        gather configuration, metrics, logs from common HDP services that\n        aids to quickly troubleshoot support cases and receive\n        cluster-specific recommendations.\n      ",
+            "versions" : [
+              "1.2.2.0-567"
+            ]
+          },
+          {
+            "name" : "PIG",
+            "display_name" : "Pig",
+            "comment" : "Scripting platform for analyzing large datasets",
+            "versions" : [
+              "0.15.0.2.4"
+            ]
+          },
+          {
+            "name" : "AMBARI_METRICS",
+            "display_name" : "Ambari Metrics",
+            "comment" : "A system for metrics collection that provides storage and retrieval capability for metrics collected from the cluster\n      ",
+            "versions" : [
+              "0.1.0"
+            ]
+          },
+          {
+            "name" : "OOZIE",
+            "display_name" : "Oozie",
+            "comment" : "System for workflow coordination and execution of Apache Hadoop jobs.  This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n      ",
+            "versions" : [
+              "4.2.0.2.4"
+            ]
+          },
+          {
+            "name" : "LOGSEARCH",
+            "display_name" : "Log Search",
+            "comment" : "Log aggregation, analysis, and visualization for Ambari managed services",
+            "versions" : [
+              "0.5.0"
+            ]
+          },
+          {
+            "name" : "SQOOP",
+            "display_name" : "Sqoop",
+            "comment" : "Tool for transferring bulk data between Apache Hadoop and\n        structured data stores such as relational databases\n      ",
+            "versions" : [
+              "1.4.6.2.4"
+            ]
+          },
+          {
+            "name" : "ACCUMULO",
+            "display_name" : "Accumulo",
+            "comment" : "Robust, scalable, high performance distributed key/value store.\n      ",
+            "versions" : [
+              "1.7.0.2.4"
+            ]
+          },
+          {
+            "name" : "KERBEROS",
+            "display_name" : "Kerberos",
+            "comment" : "A computer network authentication protocol which works on\n        the basis of 'tickets' to allow nodes communicating over a\n        non-secure network to prove their identity to one another in a\n        secure manner.\n      ",
+            "versions" : [
+              "1.10.3-10"
+            ]
+          },
+          {
+            "name" : "ATLAS",
+            "display_name" : "Atlas",
+            "comment" : "Atlas Metadata and Governance platform",
+            "versions" : [
+              "0.5.0.2.4"
+            ]
+          },
+          {
+            "name" : "FALCON",
+            "display_name" : "Falcon",
+            "comment" : "Data management and processing platform",
+            "versions" : [
+              "0.6.1.2.4"
+            ]
+          }
+        ],
+        "stack_version" : "2.4"
+      },
+      "operating_systems" : [
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/debian7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "debian7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.4",
+            "version_definition_id" : "HDP-2.4"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/debian7/repositories/HDP-2.4",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.4.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/debian7/2.x/updates/2.4.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-2.4",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/redhat6",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat6",
+            "stack_name" : "HDP",
+            "stack_version" : "2.4",
+            "version_definition_id" : "HDP-2.4"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/redhat6/repositories/HDP-2.4",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-2.4",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/redhat7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.4",
+            "version_definition_id" : "HDP-2.4"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/redhat7/repositories/HDP-2.4",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.4.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.4.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-2.4",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/suse11",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "suse11",
+            "stack_name" : "HDP",
+            "stack_version" : "2.4",
+            "version_definition_id" : "HDP-2.4"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/suse11/repositories/HDP-2.4",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.4.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.4.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-2.4",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/suse11/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/ubuntu12",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu12",
+            "stack_name" : "HDP",
+            "stack_version" : "2.4",
+            "version_definition_id" : "HDP-2.4"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/ubuntu12/repositories/HDP-2.4",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.4.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.4.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-2.4",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/ubuntu12/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/ubuntu14",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu14",
+            "stack_name" : "HDP",
+            "stack_version" : "2.4",
+            "version_definition_id" : "HDP-2.4"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/ubuntu14/repositories/HDP-2.4",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.4.0.0",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.4.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "HDP-2.4",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.4/operating_systems/ubuntu14/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.4",
+                "version_definition_id" : "HDP-2.4"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5",
+      "VersionDefinition" : {
+        "id" : "HDP-2.5",
+        "repository_version" : "2.5",
+        "show_available" : true,
+        "stack_default" : true,
+        "stack_name" : "HDP",
+        "stack_services" : [
+          {
+            "name" : "SPARK",
+            "display_name" : "Spark",
+            "comment" : "Apache Spark is a fast and general engine for large-scale data processing.",
+            "versions" : [
+              "1.6.x.2.5"
+            ]
+          },
+          {
+            "name" : "SLIDER",
+            "display_name" : "Slider",
+            "comment" : "A framework for deploying, managing and monitoring existing distributed applications on YARN.",
+            "versions" : [
+              "0.80.0.2.5"
+            ]
+          },
+          {
+            "name" : "ZEPPELIN",
+            "display_name" : "Zeppelin Notebook",
+            "comment" : "A web-based notebook that enables interactive data analytics. It enables you to\n        make beautiful data-driven, interactive and collaborative documents with SQL, Scala\n        and more.\n      ",
+            "versions" : [
+              "0.6.0.2.5"
+            ]
+          },
+          {
+            "name" : "PIG",
+            "display_name" : "Pig",
+            "comment" : "Scripting platform for analyzing large datasets",
+            "versions" : [
+              "0.15.0.2.5"
+            ]
+          },
+          {
+            "name" : "ZOOKEEPER",
+            "display_name" : "ZooKeeper",
+            "comment" : "Centralized service which provides highly reliable distributed coordination",
+            "versions" : [
+              "3.4.6.2.5"
+            ]
+          },
+          {
+            "name" : "MAPREDUCE2",
+            "display_name" : "MapReduce2",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.4"
+            ]
+          },
+          {
+            "name" : "OOZIE",
+            "display_name" : "Oozie",
+            "comment" : "System for workflow coordination and execution of Apache Hadoop jobs.  This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n      ",
+            "versions" : [
+              "4.2.0.2.5"
+            ]
+          },
+          {
+            "name" : "KAFKA",
+            "display_name" : "Kafka",
+            "comment" : "A high-throughput distributed messaging system",
+            "versions" : [
+              "0.9.0.2.5"
+            ]
+          },
+          {
+            "name" : "FALCON",
+            "display_name" : "Falcon",
+            "comment" : "Data management and processing platform",
+            "versions" : [
+              "0.6.1.2.5"
+            ]
+          },
+          {
+            "name" : "RANGER_KMS",
+            "display_name" : "Ranger KMS",
+            "comment" : "Key Management Server",
+            "versions" : [
+              "0.6.0.2.5"
+            ]
+          },
+          {
+            "name" : "YARN",
+            "display_name" : "YARN",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1.2.5"
+            ]
+          },
+          {
+            "name" : "GANGLIA",
+            "display_name" : "Ganglia",
+            "comment" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
+            "versions" : [
+              "3.5.0"
+            ]
+          },
+          {
+            "name" : "RANGER",
+            "display_name" : "Ranger",
+            "comment" : "Comprehensive security for Hadoop",
+            "versions" : [
+              "0.6.0.2.5"
+            ]
+          },
+          {
+            "name" : "MAHOUT",
+            "display_name" : "Mahout",
+            "comment" : "\n        Project of the Apache Software Foundation to produce free implementations of distributed or\n        otherwise scalable machine learning algorithms focused primarily in the areas of collaborative\n        filtering, clustering and classification\n      ",
+            "versions" : [
+              "0.9.0.2.5"
+            ]
+          },
+          {
+            "name" : "HDFS",
+            "display_name" : "HDFS",
+            "comment" : "Apache Hadoop Distributed File System",
+            "versions" : [
+              "2.7.1.2.5"
+            ]
+          },
+          {
+            "name" : "HBASE",
+            "display_name" : "HBase",
+            "comment" : "A Non-relational distributed database, plus Phoenix, a high performance SQL layer for low latency applications.",
+            "versions" : [
+              "1.1.2.2.5"
+            ]
+          },
+          {
+            "name" : "STORM",
+            "display_name" : "Storm",
+            "comment" : "Apache Hadoop Stream processing framework",
+            "versions" : [
+              "1.0.1.2.5"
+            ]
+          },
+          {
+            "name" : "SQOOP",
+            "display_name" : "Sqoop",
+            "comment" : "Tool for transferring bulk data between Apache Hadoop and\n        structured data stores such as relational databases\n      ",
+            "versions" : [
+              "1.4.6.2.5"
+            ]
+          },
+          {
+            "name" : "KNOX",
+            "display_name" : "Knox",
+            "comment" : "Provides a single point of authentication and access for Apache Hadoop services in a cluster",
+            "versions" : [
+              "0.6.0.2.5"
+            ]
+          },
+          {
+            "name" : "FLUME",
+            "display_name" : "Flume",
+            "comment" : "A distributed service for collecting, aggregating, and moving large amounts of streaming data into HDFS",
+            "versions" : [
+              "1.5.2.2.5"
+            ]
+          },
+          {
+            "name" : "SMARTSENSE",
+            "display_name" : "SmartSense",
+            "comment" : "SmartSense - Hortonworks SmartSense Tool (HST) helps quickly\n        gather configuration, metrics, logs from common HDP services that\n        aids to quickly troubleshoot support cases and receive\n        cluster-specific recommendations.\n      ",
+            "versions" : [
+              "1.2.2.0-567"
+            ]
+          },
+          {
+            "name" : "AMBARI_METRICS",
+            "display_name" : "Ambari Metrics",
+            "comment" : "A system for metrics collection that provides storage and retrieval capability for metrics collected from the cluster\n      ",
+            "versions" : [
+              "0.1.0"
+            ]
+          },
+          {
+            "name" : "KERBEROS",
+            "display_name" : "Kerberos",
+            "comment" : "A computer network authentication protocol which works on\n        the basis of 'tickets' to allow nodes communicating over a\n        non-secure network to prove their identity to one another in a\n        secure manner.\n      ",
+            "versions" : [
+              "1.10.3-10"
+            ]
+          },
+          {
+            "name" : "ATLAS",
+            "display_name" : "Atlas",
+            "comment" : "Atlas Metadata and Governance platform",
+            "versions" : [
+              "0.5.0.2.5"
+            ]
+          },
+          {
+            "name" : "LOGSEARCH",
+            "display_name" : "Log Search",
+            "comment" : "Log aggregation, analysis, and visualization for Ambari managed services",
+            "versions" : [
+              "0.5.0"
+            ]
+          },
+          {
+            "name" : "TEZ",
+            "display_name" : "Tez",
+            "comment" : "Tez is the next generation Hadoop Query Processing framework written on top of YARN.",
+            "versions" : [
+              "0.7.0.2.5"
+            ]
+          },
+          {
+            "name" : "ACCUMULO",
+            "display_name" : "Accumulo",
+            "comment" : "Robust, scalable, high performance distributed key/value store.\n      ",
+            "versions" : [
+              "1.7.0.2.5"
+            ]
+          },
+          {
+            "name" : "HIVE",
+            "display_name" : "Hive",
+            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+            "versions" : [
+              "1.2.1.2.5"
+            ]
+          }
+        ],
+        "stack_version" : "2.5"
+      },
+      "operating_systems" : [
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/debian7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "debian7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/debian7/repositories/HDP-2.5",
+              "Repositories" : {
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/updates/2.5.0.0",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/updates/2.5.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-2.5",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "debian7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/redhat6",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat6",
+            "stack_name" : "HDP",
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/redhat6/repositories/HDP-2.5",
+              "Repositories" : {
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/updates/2.5.0.0",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/updates/2.5.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-2.5",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat6",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/redhat7",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat7",
+            "stack_name" : "HDP",
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/redhat7/repositories/HDP-2.5",
+              "Repositories" : {
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/updates/2.5.0.0",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/updates/2.5.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-2.5",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/suse11",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "suse11",
+            "stack_name" : "HDP",
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/suse11/repositories/HDP-2.5",
+              "Repositories" : {
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/suse11sp3/2.x/updates/2.5.0.0",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/suse11sp3/2.x/updates/2.5.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-2.5",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/suse11/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/suse12",
+          "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
+            "os_type" : "suse12",
+            "stack_name" : "HDP",
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5"
+          },
+          "repositories" : [
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/suse12/repositories/HDP-2.5",
+              "Repositories" : {
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/suse11sp3/2.x/updates/2.5.0.0",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/suse11sp3/2.x/updates/2.5.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse12",
+                "repo_id" : "HDP-2.5",
+                "repo_name" : "HDP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            },
+            {
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/suse12/repositories/HDP-UTILS-1.1.0.20",
+              "Repositories" : {
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse12",
+                "repo_id" : "HDP-UTILS-1.1.0.20",
+                "repo_name" : "HDP-UTILS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/ubuntu12",
           "OperatingSystems" : {
           "OperatingSystems" : {
-            "os_type" : "debian7",
-            "repository_version_id" : 1,
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu12",
             "stack_name" : "HDP",
             "stack_name" : "HDP",
-            "stack_version" : "2.3"
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5"
           },
           },
           "repositories" : [
           "repositories" : [
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-2.3",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/ubuntu12/repositories/HDP-2.5",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.4.0-3396",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.4.0-3396",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.4.0-3396",
-                "mirrors_list" : "",
-                "os_type" : "debian7",
-                "repo_id" : "HDP-2.3",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/ubuntu12/2.x/updates/2.5.0.0",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/ubuntu12/2.x/updates/2.5.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-2.5",
                 "repo_name" : "HDP",
                 "repo_name" : "HDP",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
               }
               }
             },
             },
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/ubuntu12/repositories/HDP-UTILS-1.1.0.20",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "mirrors_list" : "",
-                "os_type" : "debian7",
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_name" : "HDP-UTILS",
                 "repo_name" : "HDP-UTILS",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
               }
               }
             }
             }
           ]
           ]
         },
         },
         {
         {
-          "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6",
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/ubuntu14",
           "OperatingSystems" : {
           "OperatingSystems" : {
-            "os_type" : "redhat6",
-            "repository_version_id" : 1,
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu14",
             "stack_name" : "HDP",
             "stack_name" : "HDP",
-            "stack_version" : "2.3"
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5"
           },
           },
           "repositories" : [
           "repositories" : [
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6/repositories/HDP-2.3",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/ubuntu14/repositories/HDP-2.5",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.4.0-3396",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.4.0-3396",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.4.0-3396",
-                "mirrors_list" : "",
-                "os_type" : "redhat6",
-                "repo_id" : "HDP-2.3",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/ubuntu14/2.x/updates/2.5.0.0",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/ubuntu14/2.x/updates/2.5.0.0",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
+                "repo_id" : "HDP-2.5",
                 "repo_name" : "HDP",
                 "repo_name" : "HDP",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
               }
               }
             },
             },
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5/operating_systems/ubuntu14/repositories/HDP-UTILS-1.1.0.20",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "mirrors_list" : "",
-                "os_type" : "redhat6",
+                "base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu14",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_name" : "HDP-UTILS",
                 "repo_name" : "HDP-UTILS",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5"
               }
               }
             }
             }
           ]
           ]
         }
         }
       ]
       ]
     },
     },
-
     {
     {
+      "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0",
       "VersionDefinition" : {
       "VersionDefinition" : {
-        "id" : 2,
+        "id" : "HDP-2.5-2.5.0.0",
+        "repository_version" : "2.5.0.0",
+        "show_available" : true,
+        "stack_default" : false,
         "stack_name" : "HDP",
         "stack_name" : "HDP",
-        "stack_version" : "2.3",
-        "show_available": true,
-        "repository_version" : "2.3.4.0-3397",
-        "type" : "STANDARD",
-        "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3397.xml",
-        "release" : {
-          "build" : "3397",
-          "compatible_with" : "2.3.[0-3].0",
-          "notes" : "http://example.com",
-          "version" : "2.3.4.0"
-        },
         "stack_services" : [
         "stack_services" : [
           {
           {
-            "name" : "HDFS",
-            "display_name" : "HDFS",
-            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+            "name" : "SPARK",
+            "display_name" : "Spark",
+            "comment" : "Apache Spark is a fast and general engine for large-scale data processing.",
+            "versions" : [
+              "1.6.1"
+            ]
+          },
+          {
+            "name" : "SLIDER",
+            "display_name" : "Slider",
+            "comment" : "A framework for deploying, managing and monitoring existing distributed applications on YARN.",
+            "versions" : [
+              "0.80.0"
+            ]
+          },
+          {
+            "name" : "ZEPPELIN",
+            "display_name" : "Zeppelin Notebook",
+            "comment" : "A web-based notebook that enables interactive data analytics. It enables you to\n        make beautiful data-driven, interactive and collaborative documents with SQL, Scala\n        and more.\n      ",
+            "versions" : [
+              "0.6.0"
+            ]
+          },
+          {
+            "name" : "PIG",
+            "display_name" : "Pig",
+            "comment" : "Scripting platform for analyzing large datasets",
+            "versions" : [
+              "0.15.0"
+            ]
+          },
+          {
+            "name" : "ZOOKEEPER",
+            "display_name" : "ZooKeeper",
+            "comment" : "Centralized service which provides highly reliable distributed coordination",
+            "versions" : [
+              "3.4.6"
+            ]
+          },
+          {
+            "name" : "MAPREDUCE2",
+            "display_name" : "MapReduce2",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1"
+            ]
+          },
+          {
+            "name" : "OOZIE",
+            "display_name" : "Oozie",
+            "comment" : "System for workflow coordination and execution of Apache Hadoop jobs.  This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n      ",
+            "versions" : [
+              "4.2.0"
+            ]
+          },
+          {
+            "name" : "KAFKA",
+            "display_name" : "Kafka",
+            "comment" : "A high-throughput distributed messaging system",
+            "versions" : [
+              "0.10.0"
+            ]
+          },
+          {
+            "name" : "FALCON",
+            "display_name" : "Falcon",
+            "comment" : "Data management and processing platform",
+            "versions" : [
+              "0.10.0"
+            ]
+          },
+          {
+            "name" : "RANGER_KMS",
+            "display_name" : "Ranger KMS",
+            "comment" : "Key Management Server",
             "versions" : [
             "versions" : [
-              "2.7.1.2-3397"
+              "0.6.0"
             ]
             ]
           },
           },
           {
           {
             "name" : "YARN",
             "name" : "YARN",
             "display_name" : "YARN",
             "display_name" : "YARN",
-            "comment" : "",
+            "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
+            "versions" : [
+              "2.7.1"
+            ]
+          },
+          {
+            "name" : "GANGLIA",
+            "display_name" : "Ganglia",
+            "comment" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
+            "versions" : [
+              "3.5.0"
+            ]
+          },
+          {
+            "name" : "RANGER",
+            "display_name" : "Ranger",
+            "comment" : "Comprehensive security for Hadoop",
+            "versions" : [
+              "0.6.0"
+            ]
+          },
+          {
+            "name" : "MAHOUT",
+            "display_name" : "Mahout",
+            "comment" : "\n        Project of the Apache Software Foundation to produce free implementations of distributed or\n        otherwise scalable machine learning algorithms focused primarily in the areas of collaborative\n        filtering, clustering and classification\n      ",
+            "versions" : [
+              "0.9.0"
+            ]
+          },
+          {
+            "name" : "HDFS",
+            "display_name" : "HDFS",
+            "comment" : "Apache Hadoop Distributed File System",
             "versions" : [
             "versions" : [
-              "1.7.3-3397"
+              "2.7.1"
             ]
             ]
           },
           },
           {
           {
-            "name" : "HBase",
+            "name" : "HBASE",
             "display_name" : "HBase",
             "display_name" : "HBase",
-            "comment" : "",
+            "comment" : "A Non-relational distributed database, plus Phoenix, a high performance SQL layer for low latency applications.",
             "versions" : [
             "versions" : [
-              "1.7.3-3397"
+              "1.1.2"
             ]
             ]
           },
           },
           {
           {
-            "name" : "ZOOKEEPER",
-            "display_name" : "ZooKeeper",
-            "comment" : "",
+            "name" : "STORM",
+            "display_name" : "Storm",
+            "comment" : "Apache Hadoop Stream processing framework",
+            "versions" : [
+              "1.0.1"
+            ]
+          },
+          {
+            "name" : "SQOOP",
+            "display_name" : "Sqoop",
+            "comment" : "Tool for transferring bulk data between Apache Hadoop and\n        structured data stores such as relational databases\n      ",
+            "versions" : [
+              "1.4.6"
+            ]
+          },
+          {
+            "name" : "KNOX",
+            "display_name" : "Knox",
+            "comment" : "Provides a single point of authentication and access for Apache Hadoop services in a cluster",
+            "versions" : [
+              "0.9.0"
+            ]
+          },
+          {
+            "name" : "FLUME",
+            "display_name" : "Flume",
+            "comment" : "A distributed service for collecting, aggregating, and moving large amounts of streaming data into HDFS",
+            "versions" : [
+              "1.5.2"
+            ]
+          },
+          {
+            "name" : "SMARTSENSE",
+            "display_name" : "SmartSense",
+            "comment" : "SmartSense - Hortonworks SmartSense Tool (HST) helps quickly\n        gather configuration, metrics, logs from common HDP services that\n        aids to quickly troubleshoot support cases and receive\n        cluster-specific recommendations.\n      ",
+            "versions" : [
+              "1.2.2.0-567"
+            ]
+          },
+          {
+            "name" : "AMBARI_METRICS",
+            "display_name" : "Ambari Metrics",
+            "comment" : "A system for metrics collection that provides storage and retrieval capability for metrics collected from the cluster\n      ",
+            "versions" : [
+              "0.1.0"
+            ]
+          },
+          {
+            "name" : "KERBEROS",
+            "display_name" : "Kerberos",
+            "comment" : "A computer network authentication protocol which works on\n        the basis of 'tickets' to allow nodes communicating over a\n        non-secure network to prove their identity to one another in a\n        secure manner.\n      ",
+            "versions" : [
+              "1.10.3-10"
+            ]
+          },
+          {
+            "name" : "ATLAS",
+            "display_name" : "Atlas",
+            "comment" : "Atlas Metadata and Governance platform",
+            "versions" : [
+              "0.7.0"
+            ]
+          },
+          {
+            "name" : "LOGSEARCH",
+            "display_name" : "Log Search",
+            "comment" : "Log aggregation, analysis, and visualization for Ambari managed services",
+            "versions" : [
+              "0.5.0"
+            ]
+          },
+          {
+            "name" : "TEZ",
+            "display_name" : "Tez",
+            "comment" : "Tez is the next generation Hadoop Query Processing framework written on top of YARN.",
+            "versions" : [
+              "0.7.0"
+            ]
+          },
+          {
+            "name" : "ACCUMULO",
+            "display_name" : "Accumulo",
+            "comment" : "Robust, scalable, high performance distributed key/value store.\n      ",
             "versions" : [
             "versions" : [
-              "1.7.3-3397"
+              "1.7.0"
             ]
             ]
           },
           },
           {
           {
-            "name" : "Hive",
+            "name" : "HIVE",
             "display_name" : "Hive",
             "display_name" : "Hive",
-            "comment" : "",
+            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
             "versions" : [
             "versions" : [
-              "1.1.0-3397"
+              "1.2.1000"
             ]
             ]
           }
           }
-        ]
+        ],
+        "stack_version" : "2.5"
       },
       },
       "operating_systems" : [
       "operating_systems" : [
         {
         {
-          "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7",
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/debian7",
           "OperatingSystems" : {
           "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
             "os_type" : "debian7",
             "os_type" : "debian7",
-            "repository_version_id" : 1,
             "stack_name" : "HDP",
             "stack_name" : "HDP",
-            "stack_version" : "2.3"
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5-2.5.0.0"
           },
           },
           "repositories" : [
           "repositories" : [
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-2.3",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/debian7/repositories/HDP-2.5",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.4.0-3397",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.4.0-3397",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.4.0-3397",
-                "mirrors_list" : "",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.5.0.0-435",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.5.0.0-435",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
                 "os_type" : "debian7",
                 "os_type" : "debian7",
-                "repo_id" : "HDP-2.3",
+                "repo_id" : "HDP-2.5",
                 "repo_name" : "HDP",
                 "repo_name" : "HDP",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             },
             },
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
               "Repositories" : {
               "Repositories" : {
                 "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
                 "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
                 "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
                 "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "mirrors_list" : "",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
                 "os_type" : "debian7",
                 "os_type" : "debian7",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_name" : "HDP-UTILS",
                 "repo_name" : "HDP-UTILS",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             }
             }
           ]
           ]
         },
         },
         {
         {
-          "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6",
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/redhat6",
           "OperatingSystems" : {
           "OperatingSystems" : {
+            "ambari_managed_repositories" : true,
             "os_type" : "redhat6",
             "os_type" : "redhat6",
-            "repository_version_id" : 1,
             "stack_name" : "HDP",
             "stack_name" : "HDP",
-            "stack_version" : "2.3"
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5-2.5.0.0"
           },
           },
           "repositories" : [
           "repositories" : [
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6/repositories/HDP-2.3",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/redhat6/repositories/HDP-2.5",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.4.0-3397",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.4.0-3397",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.4.0-3397",
-                "mirrors_list" : "",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.5.0.0-453",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.5.0.0-453",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
                 "os_type" : "redhat6",
                 "os_type" : "redhat6",
-                "repo_id" : "HDP-2.3",
+                "repo_id" : "HDP-2.5",
                 "repo_name" : "HDP",
                 "repo_name" : "HDP",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             },
             },
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
               "Repositories" : {
               "Repositories" : {
                 "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
                 "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
                 "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
                 "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "mirrors_list" : "",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
                 "os_type" : "redhat6",
                 "os_type" : "redhat6",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_name" : "HDP-UTILS",
                 "repo_name" : "HDP-UTILS",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             }
             }
           ]
           ]
-        }
-      ]
-    },
-
-    {
-      "VersionDefinition" : {
-        "id" : 5,
-        "stack_name" : "HDP",
-        "stack_version" : "2.3",
-        "show_available": true,
-        "repository_version" : "2.3.6.0-3646",
-        "type" : "STANDARD",
-        "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3646.xml",
-        "release" : {
-          "build" : "3646",
-          "compatible_with" : "2.3.[0-6].0",
-          "notes" : "http://example.com",
-          "version" : "2.3.6.0"
         },
         },
-        "stack_services" : [
-          {
-            "name" : "HDFS",
-            "display_name" : "HDFS",
-            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
-            "versions" : [
-              "2.7.1.2-3646"
-            ]
-          },
-          {
-            "name" : "YARN",
-            "display_name" : "YARN",
-            "comment" : "",
-            "versions" : [
-              "1.7.3-3646"
-            ]
-          },
-          {
-            "name" : "HBase",
-            "display_name" : "HBase",
-            "comment" : "",
-            "versions" : [
-              "1.7.3-3646"
-            ]
-          },
-          {
-            "name" : "ZOOKEEPER",
-            "display_name" : "ZooKeeper",
-            "comment" : "",
-            "versions" : [
-              "1.7.3-3646"
-            ]
-          },
-          {
-            "name" : "Hive",
-            "display_name" : "Hive",
-            "comment" : "",
-            "versions" : [
-              "1.1.0-3646"
-            ]
-          }
-        ]
-      },
-      "operating_systems" : [
         {
         {
-          "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7",
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/redhat7",
           "OperatingSystems" : {
           "OperatingSystems" : {
-            "os_type" : "debian7",
-            "repository_version_id" : 1,
+            "ambari_managed_repositories" : true,
+            "os_type" : "redhat7",
             "stack_name" : "HDP",
             "stack_name" : "HDP",
-            "stack_version" : "2.3"
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5-2.5.0.0"
           },
           },
           "repositories" : [
           "repositories" : [
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-2.3",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/redhat7/repositories/HDP-2.5",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.6.0-3646",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.6.0-3646",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.3.6.0-3646",
-                "mirrors_list" : "",
-                "os_type" : "debian7",
-                "repo_id" : "HDP-2.3",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/BUILDS/2.5.0.0-453",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/BUILDS/2.5.0.0-453",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
+                "repo_id" : "HDP-2.5",
                 "repo_name" : "HDP",
                 "repo_name" : "HDP",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             },
             },
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.20",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "mirrors_list" : "",
-                "os_type" : "debian7",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos7",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "redhat7",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_name" : "HDP-UTILS",
                 "repo_name" : "HDP-UTILS",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             }
             }
           ]
           ]
         },
         },
         {
         {
-          "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6",
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/suse11",
           "OperatingSystems" : {
           "OperatingSystems" : {
-            "os_type" : "redhat6",
-            "repository_version_id" : 1,
+            "ambari_managed_repositories" : true,
+            "os_type" : "suse11",
             "stack_name" : "HDP",
             "stack_name" : "HDP",
-            "stack_version" : "2.3"
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5-2.5.0.0"
           },
           },
           "repositories" : [
           "repositories" : [
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6/repositories/HDP-2.3",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/suse11/repositories/HDP-2.5",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.6.0-3646",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.6.0-3646",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.6.0-3646",
-                "mirrors_list" : "",
-                "os_type" : "redhat6",
-                "repo_id" : "HDP-2.3",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/suse11sp3/2.x/BUILDS/2.5.0.0-453",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/suse11sp3/2.x/BUILDS/2.5.0.0-453",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
+                "repo_id" : "HDP-2.5",
                 "repo_name" : "HDP",
                 "repo_name" : "HDP",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             },
             },
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/suse11/repositories/HDP-UTILS-1.1.0.20",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6",
-                "mirrors_list" : "",
-                "os_type" : "redhat6",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/suse11sp3",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "suse11",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_name" : "HDP-UTILS",
                 "repo_name" : "HDP-UTILS",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.3"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             }
             }
           ]
           ]
-        }
-      ]
-    },
-
-
-    {
-      "VersionDefinition" : {
-        "id" : 3,
-        "stack_name" : "HDP",
-        "stack_version" : "2.4",
-        "show_available": true,
-        "repository_version" : "2.4.0.0-169",
-        "type" : "STANDARD",
-        "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_169.xml",
-        "release" : {
-          "build" : "169",
-          "compatible_with" : "2.4.[0-3].0",
-          "notes" : "http://example.com",
-          "version" : "2.4.0.0"
         },
         },
-        "stack_services" : [
-          {
-            "name" : "HDFS",
-            "display_name" : "HDFS",
-            "comment" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
-            "versions" : [
-              "2.7.1.2-169"
-            ]
-          },
-          {
-            "name" : "YARN",
-            "display_name" : "YARN",
-            "comment" : "",
-            "versions" : [
-              "1.7.3-169"
-            ]
-          },
-          {
-            "name" : "HBase",
-            "display_name" : "HBase",
-            "comment" : "",
-            "versions" : [
-              "1.7.3-169"
-            ]
-          },
-          {
-            "name" : "ZOOKEEPER",
-            "display_name" : "ZooKeeper",
-            "comment" : "",
-            "versions" : [
-              "1.7.3-169"
-            ]
-          },
-          {
-            "name" : "Hive",
-            "display_name" : "Hive",
-            "comment" : "",
-            "versions" : [
-              "1.1.0-169"
-            ]
-          },
-          {
-            "name" : "MAPREDUCE2",
-            "display_name" : "MapReduce2",
-            "comment" : "service",
-            "versions" : [
-              "2.7.1.2-169"
-            ]
-          },
-          {
-            "name" : "Slider",
-            "display_name" : "Slider",
-            "comment" : "service",
-            "versions" : [
-              "2.7.1.2-169"
-            ]
-          },
-          {
-            "name" : "Pig",
-            "display_name" : "Pig",
-            "comment" : "service",
-            "versions" : [
-              "2.7.1.2-169"
-            ]
-          },
-          {
-            "name" : "Sqoop",
-            "display_name" : "Sqoop",
-            "comment" : "service",
-            "versions" : [
-              "2.7.1.2-169"
-            ]
-          }
-        ]
-      },
-      "operating_systems" : [
         {
         {
-          "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7",
+          "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/ubuntu12",
           "OperatingSystems" : {
           "OperatingSystems" : {
-            "os_type" : "debian7",
-            "repository_version_id" : 1,
+            "ambari_managed_repositories" : true,
+            "os_type" : "ubuntu12",
             "stack_name" : "HDP",
             "stack_name" : "HDP",
-            "stack_version" : "2.4"
+            "stack_version" : "2.5",
+            "version_definition_id" : "HDP-2.5-2.5.0.0"
           },
           },
           "repositories" : [
           "repositories" : [
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-2.3",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/ubuntu12/repositories/HDP-2.5",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.4.0.0-169",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.4.0.0-169",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/debian7/2.x/BUILDS/2.4.0.0-169",
-                "mirrors_list" : "",
-                "os_type" : "debian7",
-                "repo_id" : "HDP-2.4",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/ubuntu12/2.x/BUILDS/2.5.0.0-453",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/ubuntu12/2.x/BUILDS/2.5.0.0-453",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
+                "repo_id" : "HDP-2.5",
                 "repo_name" : "HDP",
                 "repo_name" : "HDP",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.4"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             },
             },
             {
             {
-              "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/repository_versions/1/operating_systems/debian7/repositories/HDP-UTILS-1.1.0.20",
+              "href" : "http://c6401.ambari.apache.org:8080/api/v1/version_definitions/HDP-2.5-2.5.0.0/operating_systems/ubuntu12/repositories/HDP-UTILS-1.1.0.20",
               "Repositories" : {
               "Repositories" : {
-                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "latest_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/debian7",
-                "mirrors_list" : "",
-                "os_type" : "debian7",
+                "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "default_base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12",
+                "latest_base_url" : null,
+                "mirrors_list" : null,
+                "os_type" : "ubuntu12",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_id" : "HDP-UTILS-1.1.0.20",
                 "repo_name" : "HDP-UTILS",
                 "repo_name" : "HDP-UTILS",
-                "repository_version_id" : 1,
                 "stack_name" : "HDP",
                 "stack_name" : "HDP",
-                "stack_version" : "2.4"
+                "stack_version" : "2.5",
+                "version_definition_id" : "HDP-2.5-2.5.0.0"
               }
               }
             }
             }
           ]
           ]

+ 0 - 2
ambari-web/app/mappers/stack_mapper.js

@@ -99,8 +99,6 @@ App.stackMapper = App.QuickDataMapper.create({
     var operatingSystemsArray = [];
     var operatingSystemsArray = [];
     var servicesArray = [];
     var servicesArray = [];
 
 
-    stack.id = stack.stack_name + "-" + stack.stack_version + "-" + stack.repository_version; //HDP-2.5-2.5.0.0
-
     item.operating_systems.forEach(function(ops) {
     item.operating_systems.forEach(function(ops) {
       var operatingSystems = ops.OperatingSystems;
       var operatingSystems = ops.OperatingSystems;
 
 

+ 1 - 1
ambari-web/app/utils/ajax/ajax.js

@@ -2187,7 +2187,7 @@ var urls = {
   },
   },
 
 
   'wizard.stacks_versions_definitions': {
   'wizard.stacks_versions_definitions': {
-    'real': '/version_definitions?fields=operating_systems/repositories/Repositories/*,operating_systems/OperatingSystems/*,VersionDefinition/stack_services,VersionDefinition/repository_version' +
+    'real': '/version_definitions?fields=VersionDefinition/stack_default,operating_systems/repositories/Repositories/*,operating_systems/OperatingSystems/*,VersionDefinition/stack_services,VersionDefinition/repository_version' +
       '&VersionDefinition/show_available=true&VersionDefinition/stack_name={stackName}',
       '&VersionDefinition/show_available=true&VersionDefinition/stack_name={stackName}',
     'mock': '/data/wizard/stack/{stackName}_version_definitions.json'
     'mock': '/data/wizard/stack/{stackName}_version_definitions.json'
   },
   },

+ 17 - 26
ambari-web/test/mappers/stack_mapper_test.js

@@ -30,12 +30,11 @@ describe('App.stackMapper', function () {
       "items" : [
       "items" : [
       {
       {
         "VersionDefinition" : {
         "VersionDefinition" : {
-          "id" : 1,
+          "id" : "HDP-2.3",
           "show_available": true,
           "show_available": true,
           "stack_name" : "HDP",
           "stack_name" : "HDP",
           "stack_version" : "2.3",
           "stack_version" : "2.3",
-          "repository_version" : "2.3.4.0-3396",
-          "type" : "STANDARD",
+          "repository_version" : "2.3",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3396.xml",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3396.xml",
           "release" : {
           "release" : {
             "build" : "3396",
             "build" : "3396",
@@ -158,12 +157,11 @@ describe('App.stackMapper', function () {
 
 
       {
       {
         "VersionDefinition" : {
         "VersionDefinition" : {
-          "id" : 2,
+          "id" : "HDP-2.3-2.3.4.0",
           "stack_name" : "HDP",
           "stack_name" : "HDP",
           "stack_version" : "2.3",
           "stack_version" : "2.3",
           "show_available": true,
           "show_available": true,
-          "repository_version" : "2.3.4.0-3397",
-          "type" : "STANDARD",
+          "repository_version" : "2.3.4.0",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3397.xml",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3397.xml",
           "release" : {
           "release" : {
             "build" : "3397",
             "build" : "3397",
@@ -302,12 +300,11 @@ describe('App.stackMapper', function () {
 
 
       {
       {
         "VersionDefinition" : {
         "VersionDefinition" : {
-          "id" : 5,
+          "id" : "HDP-2.3-2.3.6.0",
           "stack_name" : "HDP",
           "stack_name" : "HDP",
           "stack_version" : "2.3",
           "stack_version" : "2.3",
           "show_available": true,
           "show_available": true,
-          "repository_version" : "2.3.6.0-3646",
-          "type" : "STANDARD",
+          "repository_version" : "2.3.6.0",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3646.xml",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_234-3646.xml",
           "release" : {
           "release" : {
             "build" : "3646",
             "build" : "3646",
@@ -447,12 +444,11 @@ describe('App.stackMapper', function () {
 
 
       {
       {
         "VersionDefinition" : {
         "VersionDefinition" : {
-          "id" : 3,
+          "id" : "HDP-2.4-2.4.0.0",
           "stack_name" : "HDP",
           "stack_name" : "HDP",
           "stack_version" : "2.4",
           "stack_version" : "2.4",
           "show_available": true,
           "show_available": true,
-          "repository_version" : "2.4.0.0-169",
-          "type" : "STANDARD",
+          "repository_version" : "2.4.0.0",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_169.xml",
           "version_url" : "file:/Users/ncole/src/hwx/ambari/contrib/version-builder/version_169.xml",
           "release" : {
           "release" : {
             "build" : "169",
             "build" : "169",
@@ -607,19 +603,14 @@ describe('App.stackMapper', function () {
       expect(App.Stack.find().everyProperty('isSelected')).to.equal(false);
       expect(App.Stack.find().everyProperty('isSelected')).to.equal(false);
     });
     });
 
 
-    it ('stack ids are valid', function() {
-      expect(App.Stack.find().mapProperty('id')).to.eql(
-        ['HDP-2.4-2.4.0.0-169','HDP-2.3-2.3.6.0-3646', 'HDP-2.3-2.3.4.0-3397', 'HDP-2.3-2.3.4.0-3396']);
-    });
-
     it ('7 OSes are mapped', function() {
     it ('7 OSes are mapped', function() {
       expect(App.OperatingSystem.find().get('length')).to.equal(7);
       expect(App.OperatingSystem.find().get('length')).to.equal(7);
     });
     });
 
 
     it ('OSes have valid ids', function() {
     it ('OSes have valid ids', function() {
       expect(App.OperatingSystem.find().mapProperty('id')).to.eql(
       expect(App.OperatingSystem.find().mapProperty('id')).to.eql(
-        ['HDP-2.4-2.4.0.0-169-debian7', 'HDP-2.3-2.3.6.0-3646-debian7', 'HDP-2.3-2.3.6.0-3646-redhat6', 'HDP-2.3-2.3.4.0-3397-debian7',
-        'HDP-2.3-2.3.4.0-3397-redhat6', 'HDP-2.3-2.3.4.0-3396-debian7', 'HDP-2.3-2.3.4.0-3396-redhat6']);
+        ['HDP-2.4-2.4.0.0-debian7', 'HDP-2.3-2.3.6.0-debian7', 'HDP-2.3-2.3.6.0-redhat6', 'HDP-2.3-2.3.4.0-debian7',
+        'HDP-2.3-2.3.4.0-redhat6', 'HDP-2.3-debian7', 'HDP-2.3-redhat6']);
     });
     });
 
 
     it ('14 repositories are mapped', function() {
     it ('14 repositories are mapped', function() {
@@ -628,13 +619,13 @@ describe('App.stackMapper', function () {
 
 
     it ('Repositories ids are valid', function() {
     it ('Repositories ids are valid', function() {
       expect(App.Repository.find().mapProperty('id')).to.eql(
       expect(App.Repository.find().mapProperty('id')).to.eql(
-        ['HDP-2.4-2.4.0.0-169-debian7-HDP-2.4', 'HDP-2.4-2.4.0.0-169-debian7-HDP-UTILS-1.1.0.20',
-          'HDP-2.3-2.3.6.0-3646-debian7-HDP-2.3', 'HDP-2.3-2.3.6.0-3646-debian7-HDP-UTILS-1.1.0.20',
-          'HDP-2.3-2.3.6.0-3646-redhat6-HDP-2.3','HDP-2.3-2.3.6.0-3646-redhat6-HDP-UTILS-1.1.0.20',
-          'HDP-2.3-2.3.4.0-3397-debian7-HDP-2.3','HDP-2.3-2.3.4.0-3397-debian7-HDP-UTILS-1.1.0.20',
-          'HDP-2.3-2.3.4.0-3397-redhat6-HDP-2.3', 'HDP-2.3-2.3.4.0-3397-redhat6-HDP-UTILS-1.1.0.20',
-          'HDP-2.3-2.3.4.0-3396-debian7-HDP-2.3', 'HDP-2.3-2.3.4.0-3396-debian7-HDP-UTILS-1.1.0.20',
-          'HDP-2.3-2.3.4.0-3396-redhat6-HDP-2.3', 'HDP-2.3-2.3.4.0-3396-redhat6-HDP-UTILS-1.1.0.20'
+        ['HDP-2.4-2.4.0.0-debian7-HDP-2.4', 'HDP-2.4-2.4.0.0-debian7-HDP-UTILS-1.1.0.20',
+          'HDP-2.3-2.3.6.0-debian7-HDP-2.3', 'HDP-2.3-2.3.6.0-debian7-HDP-UTILS-1.1.0.20',
+          'HDP-2.3-2.3.6.0-redhat6-HDP-2.3','HDP-2.3-2.3.6.0-redhat6-HDP-UTILS-1.1.0.20',
+          'HDP-2.3-2.3.4.0-debian7-HDP-2.3','HDP-2.3-2.3.4.0-debian7-HDP-UTILS-1.1.0.20',
+          'HDP-2.3-2.3.4.0-redhat6-HDP-2.3', 'HDP-2.3-2.3.4.0-redhat6-HDP-UTILS-1.1.0.20',
+          'HDP-2.3-debian7-HDP-2.3', 'HDP-2.3-debian7-HDP-UTILS-1.1.0.20',
+          'HDP-2.3-redhat6-HDP-2.3', 'HDP-2.3-redhat6-HDP-UTILS-1.1.0.20'
         ]);
         ]);
     });
     });
   });
   });