hosts.json 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889
  1. {
  2. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts?fields=*",
  3. "items" : [
  4. {
  5. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev1.hortonworks.com",
  6. "Hosts" : {
  7. "cpu_count" : 1,
  8. "cluster_name" : "mycluster",
  9. "last_registration_time" : 1352386560520,
  10. "rack_info" : "/default-rack2",
  11. "total_mem" : 3082813,
  12. "os_arch" : "x86_64",
  13. "host_name" : "dev1.hortonworks.com",
  14. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  15. "last_heartbeat_time" : 1352461939047,
  16. "os_type" : "centos6",
  17. "ip" : "10.0.2.15"
  18. },
  19. "host_components" : [
  20. {
  21. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  22. "HostRoles" : {
  23. "cluster_name" : "mycluster",
  24. "component_name" : "SECONDARY_NAMENODE",
  25. "host_name" : "dev1.hortonworks.com"
  26. }
  27. },
  28. {
  29. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  30. "HostRoles" : {
  31. "cluster_name" : "mycluster",
  32. "component_name" : "JOBTRACKER",
  33. "host_name" : "dev1.hortonworks.com"
  34. }
  35. },
  36. {
  37. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/DATANODE",
  38. "HostRoles" : {
  39. "cluster_name" : "mycluster",
  40. "component_name" : "DATANODE",
  41. "host_name" : "dev1.hortonworks.com"
  42. }
  43. },
  44. {
  45. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  46. "HostRoles" : {
  47. "cluster_name" : "mycluster",
  48. "component_name" : "HDFS_CLIENT",
  49. "host_name" : "dev1.hortonworks.com"
  50. }
  51. },
  52. {
  53. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  54. "HostRoles" : {
  55. "cluster_name" : "mycluster",
  56. "component_name" : "TASKTRACKER",
  57. "host_name" : "dev1.hortonworks.com"
  58. }
  59. },
  60. {
  61. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  62. "HostRoles" : {
  63. "cluster_name" : "mycluster",
  64. "component_name" : "NAMENODE",
  65. "host_name" : "dev1.hortonworks.com"
  66. }
  67. },
  68. {
  69. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  70. "HostRoles" : {
  71. "cluster_name" : "mycluster",
  72. "component_name" : "MAPREDUCE_CLIENT",
  73. "host_name" : "dev1.hortonworks.com"
  74. }
  75. }
  76. ]
  77. },
  78. {
  79. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev2.hortonworks.com",
  80. "Hosts" : {
  81. "cpu_count" : 1,
  82. "cluster_name" : "mycluster",
  83. "last_registration_time" : 1352386560520,
  84. "rack_info" : "/default-rack",
  85. "total_mem" : 3086813,
  86. "os_arch" : "x86_64",
  87. "host_name" : "dev2.hortonworks.com",
  88. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  89. "last_heartbeat_time" : 1352461939047,
  90. "os_type" : "centos6",
  91. "ip" : "10.0.2.15"
  92. },
  93. "host_components" : [
  94. {
  95. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  96. "HostRoles" : {
  97. "cluster_name" : "mycluster",
  98. "component_name" : "SECONDARY_NAMENODE",
  99. "host_name" : "dev2.hortonworks.com"
  100. }
  101. },
  102. {
  103. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  104. "HostRoles" : {
  105. "cluster_name" : "mycluster",
  106. "component_name" : "JOBTRACKER",
  107. "host_name" : "dev2.hortonworks.com"
  108. }
  109. },
  110. {
  111. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/DATANODE",
  112. "HostRoles" : {
  113. "cluster_name" : "mycluster",
  114. "component_name" : "DATANODE",
  115. "host_name" : "dev2.hortonworks.com"
  116. }
  117. },
  118. {
  119. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  120. "HostRoles" : {
  121. "cluster_name" : "mycluster",
  122. "component_name" : "HDFS_CLIENT",
  123. "host_name" : "dev2.hortonworks.com"
  124. }
  125. },
  126. {
  127. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  128. "HostRoles" : {
  129. "cluster_name" : "mycluster",
  130. "component_name" : "TASKTRACKER",
  131. "host_name" : "dev2.hortonworks.com"
  132. }
  133. },
  134. {
  135. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  136. "HostRoles" : {
  137. "cluster_name" : "mycluster",
  138. "component_name" : "NAMENODE",
  139. "host_name" : "dev2.hortonworks.com"
  140. }
  141. },
  142. {
  143. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  144. "HostRoles" : {
  145. "cluster_name" : "mycluster",
  146. "component_name" : "MAPREDUCE_CLIENT",
  147. "host_name" : "dev2.hortonworks.com"
  148. }
  149. }
  150. ]
  151. },
  152. {
  153. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev3.hortonworks.com",
  154. "Hosts" : {
  155. "cpu_count" : 16,
  156. "cluster_name" : "mycluster",
  157. "last_registration_time" : 1352386560520,
  158. "rack_info" : "/default-rack3",
  159. "total_mem" : 3082813,
  160. "os_arch" : "x86_64",
  161. "host_name" : "dev3.hortonworks.com",
  162. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  163. "last_heartbeat_time" : 1352461939047,
  164. "os_type" : "centos6",
  165. "ip" : "10.0.2.15"
  166. },
  167. "host_components" : [
  168. {
  169. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  170. "HostRoles" : {
  171. "cluster_name" : "mycluster",
  172. "component_name" : "SECONDARY_NAMENODE",
  173. "host_name" : "dev3.hortonworks.com"
  174. }
  175. },
  176. {
  177. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  178. "HostRoles" : {
  179. "cluster_name" : "mycluster",
  180. "component_name" : "JOBTRACKER",
  181. "host_name" : "dev3.hortonworks.com"
  182. }
  183. },
  184. {
  185. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/DATANODE",
  186. "HostRoles" : {
  187. "cluster_name" : "mycluster",
  188. "component_name" : "DATANODE",
  189. "host_name" : "dev3.hortonworks.com"
  190. }
  191. },
  192. {
  193. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  194. "HostRoles" : {
  195. "cluster_name" : "mycluster",
  196. "component_name" : "HDFS_CLIENT",
  197. "host_name" : "dev3.hortonworks.com"
  198. }
  199. },
  200. {
  201. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  202. "HostRoles" : {
  203. "cluster_name" : "mycluster",
  204. "component_name" : "TASKTRACKER",
  205. "host_name" : "dev3.hortonworks.com"
  206. }
  207. },
  208. {
  209. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  210. "HostRoles" : {
  211. "cluster_name" : "mycluster",
  212. "component_name" : "NAMENODE",
  213. "host_name" : "dev3.hortonworks.com"
  214. }
  215. },
  216. {
  217. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  218. "HostRoles" : {
  219. "cluster_name" : "mycluster",
  220. "component_name" : "MAPREDUCE_CLIENT",
  221. "host_name" : "dev3.hortonworks.com"
  222. }
  223. }
  224. ]
  225. },
  226. {
  227. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  228. "Hosts" : {
  229. "cpu_count" : 5,
  230. "cluster_name" : "mycluster",
  231. "last_registration_time" : 1352386560520,
  232. "rack_info" : "/default-rack8",
  233. "total_mem" : 3082813,
  234. "os_arch" : "x86_64",
  235. "host_name" : "dev.hortonworks.com2",
  236. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  237. "last_heartbeat_time" : 1352461939047,
  238. "os_type" : "centos6",
  239. "ip" : "10.0.2.15"
  240. },
  241. "host_components" : [
  242. {
  243. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  244. "HostRoles" : {
  245. "cluster_name" : "mycluster",
  246. "component_name" : "SECONDARY_NAMENODE",
  247. "host_name" : "dev.hortonworks.com"
  248. }
  249. },
  250. {
  251. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  252. "HostRoles" : {
  253. "cluster_name" : "mycluster",
  254. "component_name" : "JOBTRACKER",
  255. "host_name" : "dev.hortonworks.com"
  256. }
  257. },
  258. {
  259. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  260. "HostRoles" : {
  261. "cluster_name" : "mycluster",
  262. "component_name" : "HDFS_CLIENT",
  263. "host_name" : "dev.hortonworks.com"
  264. }
  265. },
  266. {
  267. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  268. "HostRoles" : {
  269. "cluster_name" : "mycluster",
  270. "component_name" : "TASKTRACKER",
  271. "host_name" : "dev.hortonworks.com"
  272. }
  273. },
  274. {
  275. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  276. "HostRoles" : {
  277. "cluster_name" : "mycluster",
  278. "component_name" : "NAMENODE",
  279. "host_name" : "dev.hortonworks.com"
  280. }
  281. },
  282. {
  283. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  284. "HostRoles" : {
  285. "cluster_name" : "mycluster",
  286. "component_name" : "MAPREDUCE_CLIENT",
  287. "host_name" : "dev.hortonworks.com"
  288. }
  289. }
  290. ]
  291. },
  292. {
  293. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  294. "Hosts" : {
  295. "cpu_count" : 2,
  296. "cluster_name" : "mycluster",
  297. "last_registration_time" : 1352386560520,
  298. "rack_info" : "/default-rack1",
  299. "total_mem" : 3082813,
  300. "os_arch" : "x86_64",
  301. "host_name" : "dev.hortonworks.com3",
  302. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  303. "last_heartbeat_time" : 1352461939047,
  304. "os_type" : "centos6",
  305. "ip" : "10.0.2.15"
  306. },
  307. "host_components" : [
  308. {
  309. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  310. "HostRoles" : {
  311. "cluster_name" : "mycluster",
  312. "component_name" : "SECONDARY_NAMENODE",
  313. "host_name" : "dev.hortonworks.com"
  314. }
  315. },
  316. {
  317. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  318. "HostRoles" : {
  319. "cluster_name" : "mycluster",
  320. "component_name" : "JOBTRACKER",
  321. "host_name" : "dev.hortonworks.com"
  322. }
  323. },
  324. {
  325. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  326. "HostRoles" : {
  327. "cluster_name" : "mycluster",
  328. "component_name" : "HDFS_CLIENT",
  329. "host_name" : "dev.hortonworks.com"
  330. }
  331. },
  332. {
  333. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  334. "HostRoles" : {
  335. "cluster_name" : "mycluster",
  336. "component_name" : "TASKTRACKER",
  337. "host_name" : "dev.hortonworks.com"
  338. }
  339. },
  340. {
  341. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  342. "HostRoles" : {
  343. "cluster_name" : "mycluster",
  344. "component_name" : "NAMENODE",
  345. "host_name" : "dev.hortonworks.com"
  346. }
  347. },
  348. {
  349. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  350. "HostRoles" : {
  351. "cluster_name" : "mycluster",
  352. "component_name" : "MAPREDUCE_CLIENT",
  353. "host_name" : "dev.hortonworks.com"
  354. }
  355. }
  356. ]
  357. },
  358. {
  359. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  360. "Hosts" : {
  361. "cpu_count" : 1,
  362. "cluster_name" : "mycluster",
  363. "last_registration_time" : 1352386560520,
  364. "rack_info" : "/default-rack",
  365. "total_mem" : 3082813,
  366. "os_arch" : "x86_64",
  367. "host_name" : "dev.hortonworks.com4",
  368. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  369. "last_heartbeat_time" : 1352461939047,
  370. "os_type" : "centos6",
  371. "ip" : "10.0.2.15"
  372. },
  373. "host_components" : [
  374. {
  375. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  376. "HostRoles" : {
  377. "cluster_name" : "mycluster",
  378. "component_name" : "SECONDARY_NAMENODE",
  379. "host_name" : "dev.hortonworks.com"
  380. }
  381. },
  382. {
  383. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  384. "HostRoles" : {
  385. "cluster_name" : "mycluster",
  386. "component_name" : "JOBTRACKER",
  387. "host_name" : "dev.hortonworks.com"
  388. }
  389. },
  390. {
  391. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  392. "HostRoles" : {
  393. "cluster_name" : "mycluster",
  394. "component_name" : "HDFS_CLIENT",
  395. "host_name" : "dev.hortonworks.com"
  396. }
  397. },
  398. {
  399. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  400. "HostRoles" : {
  401. "cluster_name" : "mycluster",
  402. "component_name" : "TASKTRACKER",
  403. "host_name" : "dev.hortonworks.com"
  404. }
  405. },
  406. {
  407. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  408. "HostRoles" : {
  409. "cluster_name" : "mycluster",
  410. "component_name" : "NAMENODE",
  411. "host_name" : "dev.hortonworks.com"
  412. }
  413. },
  414. {
  415. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  416. "HostRoles" : {
  417. "cluster_name" : "mycluster",
  418. "component_name" : "MAPREDUCE_CLIENT",
  419. "host_name" : "dev.hortonworks.com"
  420. }
  421. }
  422. ]
  423. },
  424. {
  425. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  426. "Hosts" : {
  427. "cpu_count" : 3,
  428. "cluster_name" : "mycluster",
  429. "last_registration_time" : 1352386560520,
  430. "rack_info" : "/default-rack",
  431. "total_mem" : 3082813,
  432. "os_arch" : "x86_64",
  433. "host_name" : "dev.hortonworks.com5",
  434. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  435. "last_heartbeat_time" : 1352461939047,
  436. "os_type" : "centos6",
  437. "ip" : "10.0.2.15"
  438. },
  439. "host_components" : [
  440. {
  441. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  442. "HostRoles" : {
  443. "cluster_name" : "mycluster",
  444. "component_name" : "SECONDARY_NAMENODE",
  445. "host_name" : "dev.hortonworks.com"
  446. }
  447. },
  448. {
  449. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  450. "HostRoles" : {
  451. "cluster_name" : "mycluster",
  452. "component_name" : "JOBTRACKER",
  453. "host_name" : "dev.hortonworks.com"
  454. }
  455. },
  456. {
  457. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  458. "HostRoles" : {
  459. "cluster_name" : "mycluster",
  460. "component_name" : "HDFS_CLIENT",
  461. "host_name" : "dev.hortonworks.com"
  462. }
  463. },
  464. {
  465. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  466. "HostRoles" : {
  467. "cluster_name" : "mycluster",
  468. "component_name" : "TASKTRACKER",
  469. "host_name" : "dev.hortonworks.com"
  470. }
  471. },
  472. {
  473. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  474. "HostRoles" : {
  475. "cluster_name" : "mycluster",
  476. "component_name" : "NAMENODE",
  477. "host_name" : "dev.hortonworks.com"
  478. }
  479. },
  480. {
  481. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  482. "HostRoles" : {
  483. "cluster_name" : "mycluster",
  484. "component_name" : "MAPREDUCE_CLIENT",
  485. "host_name" : "dev.hortonworks.com"
  486. }
  487. }
  488. ]
  489. },
  490. {
  491. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  492. "Hosts" : {
  493. "cpu_count" : 1,
  494. "cluster_name" : "mycluster",
  495. "last_registration_time" : 1352386560520,
  496. "rack_info" : "/default-rack",
  497. "total_mem" : 3082813,
  498. "os_arch" : "x86_64",
  499. "host_name" : "dev.hortonworks.com6",
  500. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  501. "last_heartbeat_time" : 1352461939047,
  502. "os_type" : "centos6",
  503. "ip" : "10.0.2.15"
  504. },
  505. "host_components" : [
  506. {
  507. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  508. "HostRoles" : {
  509. "cluster_name" : "mycluster",
  510. "component_name" : "SECONDARY_NAMENODE",
  511. "host_name" : "dev.hortonworks.com"
  512. }
  513. },
  514. {
  515. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  516. "HostRoles" : {
  517. "cluster_name" : "mycluster",
  518. "component_name" : "JOBTRACKER",
  519. "host_name" : "dev.hortonworks.com"
  520. }
  521. },
  522. {
  523. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  524. "HostRoles" : {
  525. "cluster_name" : "mycluster",
  526. "component_name" : "HDFS_CLIENT",
  527. "host_name" : "dev.hortonworks.com"
  528. }
  529. },
  530. {
  531. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  532. "HostRoles" : {
  533. "cluster_name" : "mycluster",
  534. "component_name" : "TASKTRACKER",
  535. "host_name" : "dev.hortonworks.com"
  536. }
  537. },
  538. {
  539. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  540. "HostRoles" : {
  541. "cluster_name" : "mycluster",
  542. "component_name" : "NAMENODE",
  543. "host_name" : "dev.hortonworks.com"
  544. }
  545. },
  546. {
  547. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  548. "HostRoles" : {
  549. "cluster_name" : "mycluster",
  550. "component_name" : "MAPREDUCE_CLIENT",
  551. "host_name" : "dev.hortonworks.com"
  552. }
  553. }
  554. ]
  555. },
  556. {
  557. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  558. "Hosts" : {
  559. "cpu_count" : 2,
  560. "cluster_name" : "mycluster",
  561. "last_registration_time" : 1352386560520,
  562. "rack_info" : "/default-rack",
  563. "total_mem" : 3082813,
  564. "os_arch" : "x86_64",
  565. "host_name" : "dev.hortonworks.com7",
  566. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  567. "last_heartbeat_time" : 1352461939047,
  568. "os_type" : "centos6",
  569. "ip" : "10.0.2.15"
  570. },
  571. "host_components" : [
  572. {
  573. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  574. "HostRoles" : {
  575. "cluster_name" : "mycluster",
  576. "component_name" : "SECONDARY_NAMENODE",
  577. "host_name" : "dev.hortonworks.com"
  578. }
  579. },
  580. {
  581. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  582. "HostRoles" : {
  583. "cluster_name" : "mycluster",
  584. "component_name" : "JOBTRACKER",
  585. "host_name" : "dev.hortonworks.com"
  586. }
  587. },
  588. {
  589. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  590. "HostRoles" : {
  591. "cluster_name" : "mycluster",
  592. "component_name" : "HDFS_CLIENT",
  593. "host_name" : "dev.hortonworks.com"
  594. }
  595. },
  596. {
  597. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  598. "HostRoles" : {
  599. "cluster_name" : "mycluster",
  600. "component_name" : "TASKTRACKER",
  601. "host_name" : "dev.hortonworks.com"
  602. }
  603. },
  604. {
  605. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  606. "HostRoles" : {
  607. "cluster_name" : "mycluster",
  608. "component_name" : "NAMENODE",
  609. "host_name" : "dev.hortonworks.com"
  610. }
  611. },
  612. {
  613. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  614. "HostRoles" : {
  615. "cluster_name" : "mycluster",
  616. "component_name" : "MAPREDUCE_CLIENT",
  617. "host_name" : "dev.hortonworks.com"
  618. }
  619. }
  620. ]
  621. },
  622. {
  623. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  624. "Hosts" : {
  625. "cpu_count" : 3,
  626. "cluster_name" : "mycluster",
  627. "last_registration_time" : 1352386560520,
  628. "rack_info" : "/default-rack",
  629. "total_mem" : 3082813,
  630. "os_arch" : "x86_64",
  631. "host_name" : "dev.hortonworks.com8",
  632. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  633. "last_heartbeat_time" : 1352461939047,
  634. "os_type" : "centos6",
  635. "ip" : "10.0.2.15"
  636. },
  637. "host_components" : [
  638. {
  639. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  640. "HostRoles" : {
  641. "cluster_name" : "mycluster",
  642. "component_name" : "SECONDARY_NAMENODE",
  643. "host_name" : "dev.hortonworks.com"
  644. }
  645. },
  646. {
  647. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  648. "HostRoles" : {
  649. "cluster_name" : "mycluster",
  650. "component_name" : "JOBTRACKER",
  651. "host_name" : "dev.hortonworks.com"
  652. }
  653. },
  654. {
  655. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  656. "HostRoles" : {
  657. "cluster_name" : "mycluster",
  658. "component_name" : "HDFS_CLIENT",
  659. "host_name" : "dev.hortonworks.com"
  660. }
  661. },
  662. {
  663. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  664. "HostRoles" : {
  665. "cluster_name" : "mycluster",
  666. "component_name" : "TASKTRACKER",
  667. "host_name" : "dev.hortonworks.com"
  668. }
  669. },
  670. {
  671. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  672. "HostRoles" : {
  673. "cluster_name" : "mycluster",
  674. "component_name" : "NAMENODE",
  675. "host_name" : "dev.hortonworks.com"
  676. }
  677. },
  678. {
  679. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  680. "HostRoles" : {
  681. "cluster_name" : "mycluster",
  682. "component_name" : "MAPREDUCE_CLIENT",
  683. "host_name" : "dev.hortonworks.com"
  684. }
  685. }
  686. ]
  687. },
  688. {
  689. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  690. "Hosts" : {
  691. "cpu_count" : 2,
  692. "cluster_name" : "mycluster",
  693. "last_registration_time" : 1352386560520,
  694. "rack_info" : "/default-rack",
  695. "total_mem" : 3082813,
  696. "os_arch" : "x86_64",
  697. "host_name" : "dev.hortonworks.com9",
  698. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  699. "last_heartbeat_time" : 1352461939047,
  700. "os_type" : "centos6",
  701. "ip" : "10.0.2.15"
  702. },
  703. "host_components" : [
  704. {
  705. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  706. "HostRoles" : {
  707. "cluster_name" : "mycluster",
  708. "component_name" : "SECONDARY_NAMENODE",
  709. "host_name" : "dev.hortonworks.com"
  710. }
  711. },
  712. {
  713. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  714. "HostRoles" : {
  715. "cluster_name" : "mycluster",
  716. "component_name" : "JOBTRACKER",
  717. "host_name" : "dev.hortonworks.com"
  718. }
  719. },
  720. {
  721. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  722. "HostRoles" : {
  723. "cluster_name" : "mycluster",
  724. "component_name" : "HDFS_CLIENT",
  725. "host_name" : "dev.hortonworks.com"
  726. }
  727. },
  728. {
  729. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  730. "HostRoles" : {
  731. "cluster_name" : "mycluster",
  732. "component_name" : "TASKTRACKER",
  733. "host_name" : "dev.hortonworks.com"
  734. }
  735. },
  736. {
  737. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  738. "HostRoles" : {
  739. "cluster_name" : "mycluster",
  740. "component_name" : "NAMENODE",
  741. "host_name" : "dev.hortonworks.com"
  742. }
  743. },
  744. {
  745. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  746. "HostRoles" : {
  747. "cluster_name" : "mycluster",
  748. "component_name" : "MAPREDUCE_CLIENT",
  749. "host_name" : "dev.hortonworks.com"
  750. }
  751. }
  752. ]
  753. },
  754. {
  755. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  756. "Hosts" : {
  757. "cpu_count" : 3,
  758. "cluster_name" : "mycluster",
  759. "last_registration_time" : 1352386560520,
  760. "rack_info" : "/default-rack",
  761. "total_mem" : 3082813,
  762. "os_arch" : "x86_64",
  763. "host_name" : "dev.hortonworks.com10",
  764. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  765. "last_heartbeat_time" : 1352461939047,
  766. "os_type" : "centos6",
  767. "ip" : "10.0.2.15"
  768. },
  769. "host_components" : [
  770. {
  771. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  772. "HostRoles" : {
  773. "cluster_name" : "mycluster",
  774. "component_name" : "SECONDARY_NAMENODE",
  775. "host_name" : "dev.hortonworks.com"
  776. }
  777. },
  778. {
  779. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  780. "HostRoles" : {
  781. "cluster_name" : "mycluster",
  782. "component_name" : "JOBTRACKER",
  783. "host_name" : "dev.hortonworks.com"
  784. }
  785. },
  786. {
  787. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  788. "HostRoles" : {
  789. "cluster_name" : "mycluster",
  790. "component_name" : "HDFS_CLIENT",
  791. "host_name" : "dev.hortonworks.com"
  792. }
  793. },
  794. {
  795. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  796. "HostRoles" : {
  797. "cluster_name" : "mycluster",
  798. "component_name" : "TASKTRACKER",
  799. "host_name" : "dev.hortonworks.com"
  800. }
  801. },
  802. {
  803. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  804. "HostRoles" : {
  805. "cluster_name" : "mycluster",
  806. "component_name" : "NAMENODE",
  807. "host_name" : "dev.hortonworks.com"
  808. }
  809. },
  810. {
  811. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  812. "HostRoles" : {
  813. "cluster_name" : "mycluster",
  814. "component_name" : "MAPREDUCE_CLIENT",
  815. "host_name" : "dev.hortonworks.com"
  816. }
  817. }
  818. ]
  819. },
  820. {
  821. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com",
  822. "Hosts" : {
  823. "cpu_count" : 4,
  824. "cluster_name" : "mycluster",
  825. "last_registration_time" : 1352386560520,
  826. "rack_info" : "/default-rack",
  827. "total_mem" : 3082813,
  828. "os_arch" : "x86_64",
  829. "host_name" : "dev.hortonworks.com11",
  830. "disk_info" : "[{\"available\":\"47295056\",\"mountpoint\":\"/\",\"used\":\"3786948\",\"percent\":\"8%\",\"size\":\"51606140\",\"type\":\"ext4\"},{\"available\":\"1542800\",\"mountpoint\":\"/dev/shm\",\"used\":\"248\",\"percent\":\"1%\",\"size\":\"1543048\",\"type\":\"tmpfs\"},{\"available\":\"432210\",\"mountpoint\":\"/boot\",\"used\":\"38034\",\"percent\":\"9%\",\"size\":\"495844\",\"type\":\"ext4\"},{\"available\":\"44459872\",\"mountpoint\":\"/home\",\"used\":\"184220\",\"percent\":\"1%\",\"size\":\"47033288\",\"type\":\"ext4\"},{\"available\":\"902105496\",\"mountpoint\":\"/media/sf_ambari\",\"used\":\"74551908\",\"percent\":\"8%\",\"size\":\"976657404\",\"type\":\"vboxsf\"}]",
  831. "last_heartbeat_time" : 1352461939047,
  832. "os_type" : "centos6",
  833. "ip" : "10.0.2.15"
  834. },
  835. "host_components" : [
  836. {
  837. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/SECONDARY_NAMENODE",
  838. "HostRoles" : {
  839. "cluster_name" : "mycluster",
  840. "component_name" : "SECONDARY_NAMENODE",
  841. "host_name" : "dev.hortonworks.com"
  842. }
  843. },
  844. {
  845. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/JOBTRACKER",
  846. "HostRoles" : {
  847. "cluster_name" : "mycluster",
  848. "component_name" : "JOBTRACKER",
  849. "host_name" : "dev.hortonworks.com"
  850. }
  851. },
  852. {
  853. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/HDFS_CLIENT",
  854. "HostRoles" : {
  855. "cluster_name" : "mycluster",
  856. "component_name" : "HDFS_CLIENT",
  857. "host_name" : "dev.hortonworks.com"
  858. }
  859. },
  860. {
  861. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/TASKTRACKER",
  862. "HostRoles" : {
  863. "cluster_name" : "mycluster",
  864. "component_name" : "TASKTRACKER",
  865. "host_name" : "dev.hortonworks.com"
  866. }
  867. },
  868. {
  869. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/NAMENODE",
  870. "HostRoles" : {
  871. "cluster_name" : "mycluster",
  872. "component_name" : "NAMENODE",
  873. "host_name" : "dev.hortonworks.com"
  874. }
  875. },
  876. {
  877. "href" : "http://dev.hortonworks.com:8080/api/clusters/mycluster/hosts/dev.hortonworks.com/host_components/MAPREDUCE_CLIENT",
  878. "HostRoles" : {
  879. "cluster_name" : "mycluster",
  880. "component_name" : "MAPREDUCE_CLIENT",
  881. "host_name" : "dev.hortonworks.com"
  882. }
  883. }
  884. ]
  885. }
  886. ]
  887. }