config_groups.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "href" : "http://c6401:8080/api/v1/clusters/1/config_groups?fields=*",
  3. "items" : [
  4. {
  5. "href" : "http://c6401:8080/api/v1/clusters/1/config_groups/2",
  6. "ConfigGroup" : {
  7. "cluster_name" : "1",
  8. "description" : "1",
  9. "desired_configs" : [
  10. {
  11. "tag" : "version1426088081862",
  12. "type" : "hadoop-env",
  13. "href" : "http://c6401:8080/api/v1/clusters/1/configurations?type=hadoop-env&tag=version1426088081862"
  14. }
  15. ],
  16. "group_name" : "1",
  17. "hosts" : [
  18. {
  19. "host_name" : "c6401.ambari.apache.org",
  20. "href" : "http://c6401:8080/api/v1/clusters/1/hosts/c6401.ambari.apache.org"
  21. }
  22. ],
  23. "id" : 2,
  24. "tag" : "HDFS"
  25. }
  26. },
  27. {
  28. "href" : "http://c6401:8080/api/v1/clusters/1/config_groups/3",
  29. "ConfigGroup" : {
  30. "cluster_name" : "1",
  31. "description" : "hdfs2",
  32. "desired_configs" : [ ],
  33. "group_name" : "hdfs2",
  34. "hosts" : [
  35. {
  36. "host_name" : "c6402.ambari.apache.org",
  37. "href" : "http://c6401:8080/api/v1/clusters/1/hosts/c6402.ambari.apache.org"
  38. }
  39. ],
  40. "id" : 3,
  41. "tag" : "HDFS"
  42. }
  43. },
  44. {
  45. "href" : "http://c6401:8080/api/v1/clusters/1/config_groups/4",
  46. "ConfigGroup" : {
  47. "cluster_name" : "1",
  48. "description" : "yarn1",
  49. "desired_configs" : [ ],
  50. "group_name" : "yarn1",
  51. "hosts" : [
  52. {
  53. "host_name" : "c6401.ambari.apache.org",
  54. "href" : "http://c6401:8080/api/v1/clusters/1/hosts/c6401.ambari.apache.org"
  55. },
  56. {
  57. "host_name" : "c6402.ambari.apache.org",
  58. "href" : "http://c6401:8080/api/v1/clusters/1/hosts/c6402.ambari.apache.org"
  59. }
  60. ],
  61. "id" : 4,
  62. "tag" : "YARN"
  63. }
  64. }
  65. ]
  66. }