cluster_configuration.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "config_version": 1,
  3. "stack_version": "1.0.2",
  4. "overall": {
  5. "cluster_name": "MyHDPCluster",
  6. "dashboard_host": "dashboard_host",
  7. "dashboard_port": 80,
  8. "ganglia" : {
  9. "web_host": "gangliaweb_host",
  10. "web_port": 80,
  11. "web_root": "/var/www/ganglia2",
  12. "grid_name": "HDP_GRID"
  13. },
  14. "nagios": {
  15. "nagiosserver_host": "nagiosserver_host",
  16. "nagiosserver_port": 80,
  17. "web_root": "/nagios"
  18. },
  19. "jmx": {
  20. "timeout": 1
  21. },
  22. "services": {
  23. "HDFS" : [
  24. {
  25. "installed": true,
  26. "name": "HDFS",
  27. "namenode_host": "namenode",
  28. "namenode_port": 50070,
  29. "snamenode_host": "snamenode",
  30. "snamenode_port": 50071,
  31. "total_datanodes": 10,
  32. "ganglia_clusters": {
  33. "slaves": "HDPSlaves",
  34. "namenode": "HDPNameNode"
  35. }
  36. }
  37. ],
  38. "MAPREDUCE" : [
  39. {
  40. "installed": true,
  41. "name": "MAPREDUCE",
  42. "jobtracker_host": "jobtracker",
  43. "jobtracker_port": 50030,
  44. "total_tasktrackers": 20,
  45. "jobhistory_host": "jobhistory_host",
  46. "jobhistory_port": 52890,
  47. "ganglia_clusters": {
  48. "slaves": "HDPSlaves",
  49. "jobtracker": "HDPJobTracker"
  50. },
  51. "scheduler_type": "org.foo.CapacityTaskScheduler"
  52. }
  53. ],
  54. "HBASE" : [
  55. {
  56. "installed": true,
  57. "name": "HBASE",
  58. "hbasemaster_host": "hbasemaster",
  59. "hbasemaster_port": 60010,
  60. "total_regionservers": 30,
  61. "ganglia_clusters": {
  62. "slaves": "HDPSlaves",
  63. "hbasemaster": "HDPHBaseMaster"
  64. }
  65. }
  66. ],
  67. "ZOOKEEPER" : [
  68. {
  69. "installed": false,
  70. "name": "ZOOKEEPER"
  71. }
  72. ],
  73. "HIVE-METASTORE" : [
  74. {
  75. "installed": true,
  76. "name": "HIVE-METASTORE"
  77. }
  78. ],
  79. "TEMPLETON" : [
  80. {
  81. "installed": true,
  82. "name": "TEMPLETON"
  83. }
  84. ],
  85. "OOZIE" : [
  86. {
  87. "installed": true,
  88. "name": "OOZIE"
  89. }
  90. ]
  91. }
  92. }
  93. }