|
@@ -1,149 +1,82 @@
|
|
|
{
|
|
|
- "items": [
|
|
|
+ "href" : "http://162.216.148.202:8080/api/v1/clusters/1/stack_versions?fields=*,repository_versions/*,repository_versions/operatingSystems/repositories/*&_=1417611809864",
|
|
|
+ "items" : [
|
|
|
{
|
|
|
- "ClusterStackVersions": {
|
|
|
- "state": "CURRENT",
|
|
|
- "stack": "HDP",
|
|
|
- "version": "2.2.0.1-885",
|
|
|
- "installed_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com"],
|
|
|
- "current_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com"],
|
|
|
- "repositories": [
|
|
|
- {
|
|
|
- "os": "redhat6",
|
|
|
- "baseurls": [
|
|
|
- {
|
|
|
- "id": "HDP-2.2.0.1-885",
|
|
|
- "type": "HDP",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "HDP-UTILS-1.0.0.20",
|
|
|
- "type": "HDP-UTILS",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp-utils"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "ClusterStackVersions": {
|
|
|
- "state": "INSTALLED",
|
|
|
- "stack": "HDP",
|
|
|
- "version": "2.2.1.1-885",
|
|
|
- "installed_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com"],
|
|
|
- "current_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com"],
|
|
|
- "repositories": [
|
|
|
- {
|
|
|
- "os": "redhat6",
|
|
|
- "baseurls": [
|
|
|
- {
|
|
|
- "id": "HDP-2.2.0.1-885",
|
|
|
- "type": "HDP",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "HDP-UTILS-1.0.0.20",
|
|
|
- "type": "HDP-UTILS",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp-utils"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "ClusterStackVersions": {
|
|
|
- "state": "INSTALLED",
|
|
|
- "stack": "HDP",
|
|
|
- "version": "2.2.2.1-885",
|
|
|
- "installed_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com"],
|
|
|
- "current_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com"],
|
|
|
- "repositories": [
|
|
|
- {
|
|
|
- "os": "redhat6",
|
|
|
- "baseurls": [
|
|
|
- {
|
|
|
- "id": "HDP-2.2.0.1-885",
|
|
|
- "type": "HDP",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "HDP-UTILS-1.0.0.20",
|
|
|
- "type": "HDP-UTILS",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp-utils"
|
|
|
- }
|
|
|
- ]
|
|
|
+ "href" : "http://162.216.148.202:8080/api/v1/clusters/1/stack_versions/2",
|
|
|
+ "ClusterStackVersions" : {
|
|
|
+ "cluster_name" : "1",
|
|
|
+ "id" : 2,
|
|
|
+ "stack" : "HDP",
|
|
|
+ "state" : "CURRENT",
|
|
|
+ "version" : "2.2",
|
|
|
+ "host_states" : {
|
|
|
+ "CURRENT" : [
|
|
|
+ "ab3test-2.c.pramod-thangali.internal"
|
|
|
+ ],
|
|
|
+ "INSTALLED" : [ ],
|
|
|
+ "INSTALLING" : [ ],
|
|
|
+ "INSTALL_FAILED" : [ ],
|
|
|
+ "UPGRADED" : [ ],
|
|
|
+ "UPGRADE_FAILED" : [ ],
|
|
|
+ "UPGRADING" : [ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "repository_versions" : [
|
|
|
+ {
|
|
|
+ "href" : "http://162.216.148.202:8080/api/v1/clusters/1/stack_versions/2/repository_versions/1",
|
|
|
+ "RepositoryVersions" : {
|
|
|
+ "display_name" : "HDP 2.2.1",
|
|
|
+ "id" : 1,
|
|
|
+ "repository_version" : "2.2.1.1-885",
|
|
|
+ "stack_name" : "HDP",
|
|
|
+ "stack_version" : "2.2",
|
|
|
+ "upgrade_pack" : "upgrade-2.2"
|
|
|
},
|
|
|
- {
|
|
|
- "os": "ubuntu12",
|
|
|
- "baseurls": [
|
|
|
- {
|
|
|
- "id": "HDP-2.2.0.1-885",
|
|
|
- "type": "HDP",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "HDP-UTILS-1.0.0.20",
|
|
|
- "type": "HDP-UTILS",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp-utils"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "ClusterStackVersions": {
|
|
|
- "state": "INSTALLED",
|
|
|
- "stack": "HDP",
|
|
|
- "version": "2.3.0.1-885",
|
|
|
- "installed_hosts": [],
|
|
|
- "current_hosts": [],
|
|
|
- "repositories": [
|
|
|
- {
|
|
|
- "os": "redhat6",
|
|
|
- "baseurls": [
|
|
|
- {
|
|
|
- "id": "HDP-2.2.0.1-885",
|
|
|
- "type": "HDP",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "HDP-UTILS-1.0.0.20",
|
|
|
- "type": "HDP-UTILS",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp-utils"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "ClusterStackVersions": {
|
|
|
- "state": "INSTALLED",
|
|
|
- "stack": "HDP",
|
|
|
- "version": "2.2.0.3",
|
|
|
- "installed_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com", "dev03.hortonworks.com"],
|
|
|
- "current_hosts": ["dev01.hortonworks.com", "dev02.hortonworks.com", "dev03.hortonworks.com"],
|
|
|
- "repositories": [
|
|
|
- {
|
|
|
- "os": "redhat6",
|
|
|
- "baseurls": [
|
|
|
- {
|
|
|
- "id": "HDP-2.2.0.1-885",
|
|
|
- "type": "HDP",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp"
|
|
|
+ "operating_systems" : [
|
|
|
+ {
|
|
|
+ "href" : "http://162.216.148.202:8080/api/v1/clusters/1/stack_versions/2/repository_versions/1/operating_systems/redhat6",
|
|
|
+ "OperatingSystems" : {
|
|
|
+ "os_type" : "redhat6",
|
|
|
+ "repository_version_id" : 1,
|
|
|
+ "stack_name" : "HDP",
|
|
|
+ "stack_version" : "2.2"
|
|
|
},
|
|
|
- {
|
|
|
- "id": "HDP-UTILS-1.0.0.20",
|
|
|
- "type": "HDP-UTILS",
|
|
|
- "baseurl": "http://dev01.hortonworks.com/hdp-utils"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
+ "repositories" : [
|
|
|
+ {
|
|
|
+ "href" : "http://162.216.148.202:8080/api/v1/clusters/1/stack_versions/2/repository_versions/1/operating_systems/redhat6/repositories/HDP-2.2",
|
|
|
+ "Repositories" : {
|
|
|
+ "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos5/2.x/updates/2.2.0.0",
|
|
|
+ "default_base_url" : "",
|
|
|
+ "latest_base_url" : "",
|
|
|
+ "mirrors_list" : "",
|
|
|
+ "os_type" : "redhat6",
|
|
|
+ "repo_id" : "HDP-2.2",
|
|
|
+ "repo_name" : "HDP",
|
|
|
+ "repository_version_id" : 1,
|
|
|
+ "stack_name" : "HDP",
|
|
|
+ "stack_version" : "2.2"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "href" : "http://162.216.148.202:8080/api/v1/clusters/1/stack_versions/2/repository_versions/1/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20",
|
|
|
+ "Repositories" : {
|
|
|
+ "base_url" : "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos5/2.x/updates/2.2.0.0",
|
|
|
+ "default_base_url" : "",
|
|
|
+ "latest_base_url" : "",
|
|
|
+ "mirrors_list" : "",
|
|
|
+ "os_type" : "redhat6",
|
|
|
+ "repo_id" : "HDP-UTILS-1.1.0.20",
|
|
|
+ "repo_name" : "HDP-UTILS",
|
|
|
+ "repository_version_id" : 1,
|
|
|
+ "stack_name" : "HDP",
|
|
|
+ "stack_version" : "2.2"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|
|
|
-}
|
|
|
+}
|