services.json 86 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228
  1. {
  2. "href" : "http://dev01:8080/api/v1/clusters/vm/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles,components/host_components/metrics/jvm/memHeapUsedM,components/host_components/metrics/jvm/memHeapCommittedM,components/host_components/metrics/mapred/jobtracker/trackers_decommissioned,components/host_components/metrics/cpu/cpu_wio,components/host_components/metrics/rpc/RpcQueueTime_avg_time,components/host_components/metrics/flume/flume,components/host_components/metrics/yarn/Queue&_=1375467778021",
  3. "items" : [
  4. {
  5. "href" : "http://dev01:8080/api/v1/clusters/vm/services/GANGLIA",
  6. "ServiceInfo" : {
  7. "cluster_name" : "vm",
  8. "service_name" : "GANGLIA"
  9. },
  10. "components" : [
  11. {
  12. "href" : "http://dev01:8080/api/v1/clusters/vm/services/GANGLIA/components/GANGLIA_MONITOR",
  13. "ServiceComponentInfo" : {
  14. "cluster_name" : "vm",
  15. "component_name" : "GANGLIA_MONITOR",
  16. "service_name" : "GANGLIA",
  17. "state" : "STARTED",
  18. "desired_configs" : { }
  19. },
  20. "host_components" : [
  21. {
  22. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/GANGLIA_MONITOR",
  23. "HostRoles" : {
  24. "cluster_name" : "vm",
  25. "component_name" : "GANGLIA_MONITOR",
  26. "desired_stack_id" : "HDP-2.0.5",
  27. "desired_state" : "STARTED",
  28. "ha_status" : "passive",
  29. "host_name" : "dev01.hortonworks.com",
  30. "service_name" : "GANGLIA",
  31. "stack_id" : "HDP-2.0.5",
  32. "state" : "STARTED",
  33. "stale_configs": "true",
  34. "actual_configs" : {
  35. "capacity-scheduler" : {
  36. "tag" : "version1"
  37. },
  38. "core-site" : {
  39. "tag" : "version1"
  40. },
  41. "global" : {
  42. "tag" : "version1"
  43. },
  44. "hbase-site" : {
  45. "tag" : "version1"
  46. },
  47. "hdfs-site" : {
  48. "tag" : "version1"
  49. },
  50. "hive-site" : {
  51. "tag" : "version1"
  52. },
  53. "mapred-queue-acls" : {
  54. "tag" : "version1"
  55. },
  56. "mapred-site" : {
  57. "tag" : "version1"
  58. },
  59. "oozie-site" : {
  60. "tag" : "version1"
  61. },
  62. "webhcat-site" : {
  63. "tag" : "version1"
  64. },
  65. "yarn-site" : {
  66. "tag" : "version1"
  67. }
  68. },
  69. "configs" : { },
  70. "desired_configs" : { }
  71. }
  72. }
  73. ]
  74. },
  75. {
  76. "href" : "http://dev01:8080/api/v1/clusters/vm/services/GANGLIA/components/GANGLIA_SERVER",
  77. "ServiceComponentInfo" : {
  78. "cluster_name" : "vm",
  79. "component_name" : "GANGLIA_SERVER",
  80. "service_name" : "GANGLIA",
  81. "state" : "STARTED",
  82. "desired_configs" : { }
  83. },
  84. "host_components" : [
  85. {
  86. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/GANGLIA_SERVER",
  87. "HostRoles" : {
  88. "cluster_name" : "vm",
  89. "component_name" : "GANGLIA_SERVER",
  90. "desired_stack_id" : "HDP-2.0.5",
  91. "desired_state" : "STARTED",
  92. "ha_status" : "passive",
  93. "host_name" : "dev01.hortonworks.com",
  94. "service_name" : "GANGLIA",
  95. "stack_id" : "HDP-2.0.5",
  96. "state" : "STARTED",
  97. "stale_configs": "true",
  98. "actual_configs" : {
  99. "capacity-scheduler" : {
  100. "tag" : "version1"
  101. },
  102. "core-site" : {
  103. "tag" : "version1"
  104. },
  105. "global" : {
  106. "tag" : "version1"
  107. },
  108. "hbase-site" : {
  109. "tag" : "version1"
  110. },
  111. "hdfs-site" : {
  112. "tag" : "version1"
  113. },
  114. "hive-site" : {
  115. "tag" : "version1"
  116. },
  117. "mapred-queue-acls" : {
  118. "tag" : "version1"
  119. },
  120. "mapred-site" : {
  121. "tag" : "version1"
  122. },
  123. "oozie-site" : {
  124. "tag" : "version1"
  125. },
  126. "webhcat-site" : {
  127. "tag" : "version1"
  128. },
  129. "yarn-site" : {
  130. "tag" : "version1"
  131. }
  132. },
  133. "configs" : { },
  134. "desired_configs" : { }
  135. }
  136. }
  137. ]
  138. }
  139. ]
  140. },
  141. {
  142. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE",
  143. "ServiceInfo" : {
  144. "cluster_name" : "vm",
  145. "service_name" : "HBASE"
  146. },
  147. "components" : [
  148. {
  149. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE/components/HBASE_CLIENT",
  150. "ServiceComponentInfo" : {
  151. "cluster_name" : "vm",
  152. "component_name" : "HBASE_CLIENT",
  153. "service_name" : "HBASE",
  154. "state" : "INSTALLED",
  155. "desired_configs" : { }
  156. },
  157. "host_components" : [
  158. {
  159. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HBASE_CLIENT",
  160. "HostRoles" : {
  161. "cluster_name" : "vm",
  162. "component_name" : "HBASE_CLIENT",
  163. "desired_stack_id" : "HDP-2.0.5",
  164. "desired_state" : "INSTALLED",
  165. "ha_status" : "passive",
  166. "host_name" : "dev01.hortonworks.com",
  167. "service_name" : "HBASE",
  168. "stack_id" : "HDP-2.0.5",
  169. "state" : "INSTALLED",
  170. "actual_configs" : { },
  171. "configs" : { },
  172. "desired_configs" : { }
  173. },
  174. "metrics" : {
  175. "cpu" : {
  176. "cpu_wio" : 0.1
  177. },
  178. "jvm" : {
  179. "memHeapCommittedM" : 28.5041666667,
  180. "memHeapUsedM" : 11.9096411333
  181. }
  182. }
  183. }
  184. ]
  185. },
  186. {
  187. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE/components/HBASE_MASTER",
  188. "ServiceComponentInfo" : {
  189. "cluster_name" : "vm",
  190. "component_name" : "HBASE_MASTER",
  191. "service_name" : "HBASE",
  192. "state" : "STARTED",
  193. "desired_configs" : { }
  194. },
  195. "host_components" : [
  196. {
  197. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HBASE_MASTER",
  198. "HostRoles" : {
  199. "cluster_name" : "vm",
  200. "component_name" : "HBASE_MASTER",
  201. "desired_stack_id" : "HDP-2.0.5",
  202. "desired_state" : "STARTED",
  203. "ha_status" : "passive",
  204. "stale_configs": "true",
  205. "host_name" : "dev01.hortonworks.com",
  206. "service_name" : "HBASE",
  207. "stack_id" : "HDP-2.0.5",
  208. "state" : "INSTALLED",
  209. "actual_configs" : {
  210. "capacity-scheduler" : {
  211. "tag" : "version1"
  212. },
  213. "core-site" : {
  214. "tag" : "version1"
  215. },
  216. "global" : {
  217. "tag" : "version1"
  218. },
  219. "hbase-site" : {
  220. "tag" : "version1"
  221. },
  222. "hdfs-site" : {
  223. "tag" : "version1"
  224. },
  225. "hive-site" : {
  226. "tag" : "version1"
  227. },
  228. "mapred-queue-acls" : {
  229. "tag" : "version1"
  230. },
  231. "mapred-site" : {
  232. "tag" : "version1"
  233. },
  234. "oozie-site" : {
  235. "tag" : "version1"
  236. },
  237. "webhcat-site" : {
  238. "tag" : "version1"
  239. },
  240. "yarn-site" : {
  241. "tag" : "version1"
  242. }
  243. },
  244. "configs" : { },
  245. "desired_configs" : { }
  246. },
  247. "metrics" : {
  248. "cpu" : {
  249. "cpu_wio" : 0.1
  250. }
  251. }
  252. }
  253. ]
  254. },
  255. {
  256. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE/components/HBASE_REGIONSERVER",
  257. "ServiceComponentInfo" : {
  258. "cluster_name" : "vm",
  259. "component_name" : "HBASE_REGIONSERVER",
  260. "service_name" : "HBASE",
  261. "state" : "STARTED",
  262. "desired_configs" : { }
  263. },
  264. "host_components" : [
  265. {
  266. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HBASE_REGIONSERVER",
  267. "HostRoles" : {
  268. "cluster_name" : "vm",
  269. "component_name" : "HBASE_REGIONSERVER",
  270. "desired_stack_id" : "HDP-2.0.5",
  271. "desired_state" : "STARTED",
  272. "ha_status" : "passive",
  273. "host_name" : "dev01.hortonworks.com",
  274. "service_name" : "HBASE",
  275. "stack_id" : "HDP-2.0.5",
  276. "state" : "INSTALLED",
  277. "actual_configs" : {
  278. "capacity-scheduler" : {
  279. "tag" : "version1"
  280. },
  281. "core-site" : {
  282. "tag" : "version1"
  283. },
  284. "global" : {
  285. "tag" : "version1"
  286. },
  287. "hbase-site" : {
  288. "tag" : "version1"
  289. },
  290. "hdfs-site" : {
  291. "tag" : "version1"
  292. },
  293. "hive-site" : {
  294. "tag" : "version1"
  295. },
  296. "mapred-queue-acls" : {
  297. "tag" : "version1"
  298. },
  299. "mapred-site" : {
  300. "tag" : "version1"
  301. },
  302. "oozie-site" : {
  303. "tag" : "version1"
  304. },
  305. "webhcat-site" : {
  306. "tag" : "version1"
  307. },
  308. "yarn-site" : {
  309. "tag" : "version1"
  310. }
  311. },
  312. "configs" : { },
  313. "desired_configs" : { }
  314. },
  315. "metrics" : {
  316. "cpu" : {
  317. "cpu_wio" : 0.1
  318. },
  319. "jvm" : {
  320. "memHeapCommittedM" : 28.5041666667,
  321. "memHeapUsedM" : 11.9096411333
  322. }
  323. }
  324. }
  325. ]
  326. }
  327. ]
  328. },
  329. {
  330. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HCATALOG",
  331. "ServiceInfo" : {
  332. "cluster_name" : "vm",
  333. "service_name" : "HCATALOG"
  334. },
  335. "components" : [
  336. {
  337. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HCATALOG/components/HCAT",
  338. "ServiceComponentInfo" : {
  339. "cluster_name" : "vm",
  340. "component_name" : "HCAT",
  341. "service_name" : "HCATALOG",
  342. "state" : "INSTALLED",
  343. "desired_configs" : { }
  344. },
  345. "host_components" : [
  346. {
  347. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HCAT",
  348. "HostRoles" : {
  349. "cluster_name" : "vm",
  350. "component_name" : "HCAT",
  351. "desired_stack_id" : "HDP-2.0.5",
  352. "desired_state" : "INSTALLED",
  353. "ha_status" : "passive",
  354. "host_name" : "dev01.hortonworks.com",
  355. "service_name" : "HCATALOG",
  356. "stack_id" : "HDP-2.0.5",
  357. "state" : "INSTALLED",
  358. "actual_configs" : { },
  359. "configs" : { },
  360. "desired_configs" : { }
  361. }
  362. }
  363. ]
  364. }
  365. ]
  366. },
  367. {
  368. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS",
  369. "ServiceInfo" : {
  370. "cluster_name" : "vm",
  371. "service_name" : "HDFS"
  372. },
  373. "components" : [
  374. {
  375. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/DATANODE",
  376. "ServiceComponentInfo" : {
  377. "cluster_name" : "vm",
  378. "component_name" : "DATANODE",
  379. "service_name" : "HDFS",
  380. "state" : "STARTED",
  381. "desired_configs" : { }
  382. },
  383. "host_components" : [
  384. {
  385. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/DATANODE",
  386. "HostRoles" : {
  387. "cluster_name" : "vm",
  388. "component_name" : "DATANODE",
  389. "desired_stack_id" : "HDP-2.0.5",
  390. "desired_state" : "STARTED",
  391. "ha_status" : "passive",
  392. "host_name" : "dev01.hortonworks.com",
  393. "service_name" : "HDFS",
  394. "stack_id" : "HDP-2.0.5",
  395. "state" : "STARTED",
  396. "actual_configs" : {
  397. "capacity-scheduler" : {
  398. "tag" : "version1"
  399. },
  400. "core-site" : {
  401. "tag" : "version1"
  402. },
  403. "global" : {
  404. "tag" : "version1"
  405. },
  406. "hbase-site" : {
  407. "tag" : "version1"
  408. },
  409. "hdfs-site" : {
  410. "tag" : "version1"
  411. },
  412. "hive-site" : {
  413. "tag" : "version1"
  414. },
  415. "mapred-queue-acls" : {
  416. "tag" : "version1"
  417. },
  418. "mapred-site" : {
  419. "tag" : "version1"
  420. },
  421. "oozie-site" : {
  422. "tag" : "version1"
  423. },
  424. "webhcat-site" : {
  425. "tag" : "version1"
  426. },
  427. "yarn-site" : {
  428. "tag" : "version1"
  429. }
  430. },
  431. "configs" : { },
  432. "desired_configs" : { }
  433. },
  434. "metrics" : {
  435. "cpu" : {
  436. "cpu_wio" : 0.1
  437. },
  438. "jvm" : {
  439. "memHeapCommittedM" : 28.4375,
  440. "memHeapUsedM" : 13.903183
  441. }
  442. }
  443. }
  444. ]
  445. },
  446. {
  447. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/HDFS_CLIENT",
  448. "ServiceComponentInfo" : {
  449. "cluster_name" : "vm",
  450. "component_name" : "HDFS_CLIENT",
  451. "service_name" : "HDFS",
  452. "state" : "INSTALLED",
  453. "desired_configs" : { }
  454. },
  455. "host_components" : [
  456. {
  457. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HDFS_CLIENT",
  458. "HostRoles" : {
  459. "cluster_name" : "vm",
  460. "component_name" : "HDFS_CLIENT",
  461. "desired_stack_id" : "HDP-2.0.5",
  462. "desired_state" : "INSTALLED",
  463. "ha_status" : "passive",
  464. "host_name" : "dev01.hortonworks.com",
  465. "service_name" : "HDFS",
  466. "stack_id" : "HDP-2.0.5",
  467. "state" : "INSTALLED",
  468. "actual_configs" : { },
  469. "configs" : { },
  470. "desired_configs" : { }
  471. }
  472. }
  473. ]
  474. },
  475. {
  476. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/NAMENODE",
  477. "ServiceComponentInfo" : {
  478. "BlocksTotal" : 379,
  479. "CapacityRemaining" : 490802069504,
  480. "CapacityTotal" : 525282689023,
  481. "CapacityUsed" : 182407168,
  482. "CorruptBlocks" : 0,
  483. "DeadNodes" : "{}",
  484. "DecomNodes" : "{}",
  485. "HeapMemoryMax" : 1006632960,
  486. "HeapMemoryUsed" : 194751064,
  487. "LiveNodes" : "{\"dev01.hortonworks.com\":{\"numBlocks\":379,\"usedSpace\":182407168,\"lastContact\":1,\"capacity\":525282689023,\"nonDfsUsedSpace\":34298212351,\"adminState\":\"In Service\"}}",
  488. "MissingBlocks" : 0,
  489. "NonDfsUsedSpace" : 34298212351,
  490. "NonHeapMemoryMax" : 136314880,
  491. "NonHeapMemoryUsed" : 42712328,
  492. "PercentRemaining" : 93.4358,
  493. "PercentUsed" : 0.034725524,
  494. "Safemode" : "",
  495. "StartTime" : 1375383936364,
  496. "TotalFiles" : 617,
  497. "UnderReplicatedBlocks" : 379,
  498. "UpgradeFinalized" : true,
  499. "Version" : "2.1.0.2.0.3.0-116, r707031d22de185c6af3023b0689578b9ec743113",
  500. "cluster_name" : "vm",
  501. "component_name" : "NAMENODE",
  502. "service_name" : "HDFS",
  503. "state" : "STARTED",
  504. "desired_configs" : { }
  505. },
  506. "host_components" : [
  507. {
  508. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/NAMENODE",
  509. "HostRoles" : {
  510. "cluster_name" : "vm",
  511. "component_name" : "NAMENODE",
  512. "desired_stack_id" : "HDP-2.0.5",
  513. "desired_state" : "STARTED",
  514. "ha_status" : "passive",
  515. "host_name" : "dev01.hortonworks.com",
  516. "service_name" : "HDFS",
  517. "stack_id" : "HDP-2.0.5",
  518. "state" : "STARTED",
  519. "actual_configs" : {
  520. "capacity-scheduler" : {
  521. "tag" : "version1"
  522. },
  523. "core-site" : {
  524. "tag" : "version1"
  525. },
  526. "global" : {
  527. "tag" : "version1"
  528. },
  529. "hbase-site" : {
  530. "tag" : "version1"
  531. },
  532. "hdfs-site" : {
  533. "tag" : "version1"
  534. },
  535. "hive-site" : {
  536. "tag" : "version1"
  537. },
  538. "mapred-queue-acls" : {
  539. "tag" : "version1"
  540. },
  541. "mapred-site" : {
  542. "tag" : "version1"
  543. },
  544. "oozie-site" : {
  545. "tag" : "version1"
  546. },
  547. "webhcat-site" : {
  548. "tag" : "version1"
  549. },
  550. "yarn-site" : {
  551. "tag" : "version1"
  552. }
  553. },
  554. "configs" : { },
  555. "desired_configs" : { }
  556. },
  557. "metrics" : {
  558. "cpu" : {
  559. "cpu_wio" : 0.3
  560. },
  561. "jvm" : {
  562. "memHeapCommittedM" : 960.0,
  563. "memHeapUsedM" : 186.13074
  564. }
  565. }
  566. }
  567. ]
  568. },
  569. {
  570. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/SECONDARY_NAMENODE",
  571. "ServiceComponentInfo" : {
  572. "cluster_name" : "vm",
  573. "component_name" : "SECONDARY_NAMENODE",
  574. "service_name" : "HDFS",
  575. "state" : "STARTED",
  576. "desired_configs" : { }
  577. },
  578. "host_components" : [
  579. {
  580. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/SECONDARY_NAMENODE",
  581. "HostRoles" : {
  582. "cluster_name" : "vm",
  583. "component_name" : "SECONDARY_NAMENODE",
  584. "desired_stack_id" : "HDP-2.0.5",
  585. "desired_state" : "STARTED",
  586. "ha_status" : "passive",
  587. "host_name" : "dev01.hortonworks.com",
  588. "service_name" : "HDFS",
  589. "stack_id" : "HDP-2.0.5",
  590. "state" : "STARTED",
  591. "actual_configs" : {
  592. "capacity-scheduler" : {
  593. "tag" : "version1"
  594. },
  595. "core-site" : {
  596. "tag" : "version1"
  597. },
  598. "global" : {
  599. "tag" : "version1"
  600. },
  601. "hbase-site" : {
  602. "tag" : "version1"
  603. },
  604. "hdfs-site" : {
  605. "tag" : "version1"
  606. },
  607. "hive-site" : {
  608. "tag" : "version1"
  609. },
  610. "mapred-queue-acls" : {
  611. "tag" : "version1"
  612. },
  613. "mapred-site" : {
  614. "tag" : "version1"
  615. },
  616. "oozie-site" : {
  617. "tag" : "version1"
  618. },
  619. "webhcat-site" : {
  620. "tag" : "version1"
  621. },
  622. "yarn-site" : {
  623. "tag" : "version1"
  624. }
  625. },
  626. "configs" : { },
  627. "desired_configs" : { }
  628. }
  629. }
  630. ]
  631. }
  632. ]
  633. },
  634. {
  635. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE",
  636. "ServiceInfo" : {
  637. "cluster_name" : "vm",
  638. "service_name" : "HIVE"
  639. },
  640. "components" : [
  641. {
  642. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/HIVE_CLIENT",
  643. "ServiceComponentInfo" : {
  644. "cluster_name" : "vm",
  645. "component_name" : "HIVE_CLIENT",
  646. "service_name" : "HIVE",
  647. "state" : "INSTALLED",
  648. "desired_configs" : { }
  649. },
  650. "host_components" : [
  651. {
  652. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HIVE_CLIENT",
  653. "HostRoles" : {
  654. "cluster_name" : "vm",
  655. "component_name" : "HIVE_CLIENT",
  656. "desired_stack_id" : "HDP-2.0.5",
  657. "desired_state" : "INSTALLED",
  658. "ha_status" : "passive",
  659. "host_name" : "dev01.hortonworks.com",
  660. "service_name" : "HIVE",
  661. "stack_id" : "HDP-2.0.5",
  662. "state" : "INSTALLED",
  663. "actual_configs" : { },
  664. "configs" : { },
  665. "desired_configs" : { }
  666. }
  667. }
  668. ]
  669. },
  670. {
  671. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/HIVE_METASTORE",
  672. "ServiceComponentInfo" : {
  673. "cluster_name" : "vm",
  674. "component_name" : "HIVE_METASTORE",
  675. "service_name" : "HIVE",
  676. "state" : "STARTED",
  677. "desired_configs" : { }
  678. },
  679. "host_components" : [
  680. {
  681. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HIVE_METASTORE",
  682. "HostRoles" : {
  683. "cluster_name" : "vm",
  684. "component_name" : "HIVE_METASTORE",
  685. "desired_stack_id" : "HDP-2.0.5",
  686. "desired_state" : "STARTED",
  687. "ha_status" : "passive",
  688. "host_name" : "dev01.hortonworks.com",
  689. "service_name" : "HIVE",
  690. "stack_id" : "HDP-2.0.5",
  691. "state" : "STARTED",
  692. "actual_configs" : {
  693. "capacity-scheduler" : {
  694. "tag" : "version1"
  695. },
  696. "core-site" : {
  697. "tag" : "version1"
  698. },
  699. "global" : {
  700. "tag" : "version1"
  701. },
  702. "hbase-site" : {
  703. "tag" : "version1"
  704. },
  705. "hdfs-site" : {
  706. "tag" : "version1"
  707. },
  708. "hive-site" : {
  709. "tag" : "version1"
  710. },
  711. "mapred-queue-acls" : {
  712. "tag" : "version1"
  713. },
  714. "mapred-site" : {
  715. "tag" : "version1"
  716. },
  717. "oozie-site" : {
  718. "tag" : "version1"
  719. },
  720. "webhcat-site" : {
  721. "tag" : "version1"
  722. },
  723. "yarn-site" : {
  724. "tag" : "version1"
  725. }
  726. },
  727. "configs" : { },
  728. "desired_configs" : { }
  729. }
  730. }
  731. ]
  732. },
  733. {
  734. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/HIVE_SERVER",
  735. "ServiceComponentInfo" : {
  736. "cluster_name" : "vm",
  737. "component_name" : "HIVE_SERVER",
  738. "service_name" : "HIVE",
  739. "state" : "STARTED",
  740. "desired_configs" : { }
  741. },
  742. "host_components" : [
  743. {
  744. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HIVE_SERVER",
  745. "HostRoles" : {
  746. "cluster_name" : "vm",
  747. "component_name" : "HIVE_SERVER",
  748. "desired_stack_id" : "HDP-2.0.5",
  749. "desired_state" : "STARTED",
  750. "ha_status" : "passive",
  751. "host_name" : "dev01.hortonworks.com",
  752. "service_name" : "HIVE",
  753. "stack_id" : "HDP-2.0.5",
  754. "state" : "STARTED",
  755. "actual_configs" : {
  756. "capacity-scheduler" : {
  757. "tag" : "version1"
  758. },
  759. "core-site" : {
  760. "tag" : "version1"
  761. },
  762. "global" : {
  763. "tag" : "version1"
  764. },
  765. "hbase-site" : {
  766. "tag" : "version1"
  767. },
  768. "hdfs-site" : {
  769. "tag" : "version1"
  770. },
  771. "hive-site" : {
  772. "tag" : "version1"
  773. },
  774. "mapred-queue-acls" : {
  775. "tag" : "version1"
  776. },
  777. "mapred-site" : {
  778. "tag" : "version1"
  779. },
  780. "oozie-site" : {
  781. "tag" : "version1"
  782. },
  783. "webhcat-site" : {
  784. "tag" : "version1"
  785. },
  786. "yarn-site" : {
  787. "tag" : "version1"
  788. }
  789. },
  790. "configs" : { },
  791. "desired_configs" : { }
  792. }
  793. }
  794. ]
  795. },
  796. {
  797. "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/MYSQL_SERVER",
  798. "ServiceComponentInfo" : {
  799. "cluster_name" : "vm",
  800. "component_name" : "MYSQL_SERVER",
  801. "service_name" : "HIVE",
  802. "state" : "STARTED",
  803. "desired_configs" : { }
  804. },
  805. "host_components" : [
  806. {
  807. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/MYSQL_SERVER",
  808. "HostRoles" : {
  809. "cluster_name" : "vm",
  810. "component_name" : "MYSQL_SERVER",
  811. "desired_stack_id" : "HDP-2.0.5",
  812. "desired_state" : "STARTED",
  813. "ha_status" : "passive",
  814. "host_name" : "dev01.hortonworks.com",
  815. "service_name" : "HIVE",
  816. "stack_id" : "HDP-2.0.5",
  817. "state" : "STARTED",
  818. "actual_configs" : {
  819. "capacity-scheduler" : {
  820. "tag" : "version1"
  821. },
  822. "core-site" : {
  823. "tag" : "version1"
  824. },
  825. "global" : {
  826. "tag" : "version1"
  827. },
  828. "hbase-site" : {
  829. "tag" : "version1"
  830. },
  831. "hdfs-site" : {
  832. "tag" : "version1"
  833. },
  834. "hive-site" : {
  835. "tag" : "version1"
  836. },
  837. "mapred-queue-acls" : {
  838. "tag" : "version1"
  839. },
  840. "mapred-site" : {
  841. "tag" : "version1"
  842. },
  843. "oozie-site" : {
  844. "tag" : "version1"
  845. },
  846. "webhcat-site" : {
  847. "tag" : "version1"
  848. },
  849. "yarn-site" : {
  850. "tag" : "version1"
  851. }
  852. },
  853. "configs" : { },
  854. "desired_configs" : { }
  855. }
  856. }
  857. ]
  858. }
  859. ]
  860. },
  861. {
  862. "href" : "http://dev01:8080/api/v1/clusters/vm/services/MAPREDUCE2",
  863. "ServiceInfo" : {
  864. "cluster_name" : "vm",
  865. "service_name" : "MAPREDUCE2"
  866. },
  867. "components" : [
  868. {
  869. "href" : "http://dev01:8080/api/v1/clusters/vm/services/MAPREDUCE2/components/HISTORYSERVER",
  870. "ServiceComponentInfo" : {
  871. "cluster_name" : "vm",
  872. "component_name" : "HISTORYSERVER",
  873. "service_name" : "MAPREDUCE2",
  874. "state" : "STARTED",
  875. "desired_configs" : { }
  876. },
  877. "host_components" : [
  878. {
  879. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/HISTORYSERVER",
  880. "HostRoles" : {
  881. "cluster_name" : "vm",
  882. "component_name" : "HISTORYSERVER",
  883. "desired_stack_id" : "HDP-2.0.5",
  884. "desired_state" : "STARTED",
  885. "ha_status" : "passive",
  886. "host_name" : "dev01.hortonworks.com",
  887. "service_name" : "MAPREDUCE2",
  888. "stack_id" : "HDP-2.0.5",
  889. "state" : "STARTED",
  890. "stale_configs": "true",
  891. "actual_configs" : {
  892. "capacity-scheduler" : {
  893. "tag" : "version1"
  894. },
  895. "core-site" : {
  896. "tag" : "version1"
  897. },
  898. "global" : {
  899. "tag" : "version1"
  900. },
  901. "hbase-site" : {
  902. "tag" : "version1"
  903. },
  904. "hdfs-site" : {
  905. "tag" : "version1"
  906. },
  907. "hive-site" : {
  908. "tag" : "version1"
  909. },
  910. "mapred-queue-acls" : {
  911. "tag" : "version1"
  912. },
  913. "mapred-site" : {
  914. "tag" : "version1"
  915. },
  916. "oozie-site" : {
  917. "tag" : "version1"
  918. },
  919. "webhcat-site" : {
  920. "tag" : "version1"
  921. },
  922. "yarn-site" : {
  923. "tag" : "version1"
  924. }
  925. },
  926. "configs" : { },
  927. "desired_configs" : { }
  928. },
  929. "metrics" : {
  930. "jvm" : {
  931. "memHeapCommittedM" : 28.5625,
  932. "memHeapUsedM" : 10.363014
  933. }
  934. }
  935. }
  936. ]
  937. },
  938. {
  939. "href" : "http://dev01:8080/api/v1/clusters/vm/services/MAPREDUCE2/components/MAPREDUCE2_CLIENT",
  940. "ServiceComponentInfo" : {
  941. "cluster_name" : "vm",
  942. "component_name" : "MAPREDUCE2_CLIENT",
  943. "service_name" : "MAPREDUCE2",
  944. "state" : "INSTALLED",
  945. "desired_configs" : { }
  946. },
  947. "host_components" : [
  948. {
  949. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/MAPREDUCE2_CLIENT",
  950. "HostRoles" : {
  951. "cluster_name" : "vm",
  952. "component_name" : "MAPREDUCE2_CLIENT",
  953. "desired_stack_id" : "HDP-2.0.5",
  954. "desired_state" : "INSTALLED",
  955. "ha_status" : "passive",
  956. "host_name" : "dev01.hortonworks.com",
  957. "service_name" : "MAPREDUCE2",
  958. "stack_id" : "HDP-2.0.5",
  959. "state" : "INSTALLED",
  960. "stale_configs": "true",
  961. "actual_configs" : { },
  962. "configs" : { },
  963. "desired_configs" : { }
  964. }
  965. }
  966. ]
  967. }
  968. ]
  969. },
  970. {
  971. "href" : "http://dev01:8080/api/v1/clusters/vm/services/NAGIOS",
  972. "ServiceInfo" : {
  973. "cluster_name" : "vm",
  974. "service_name" : "NAGIOS"
  975. },
  976. "components" : [
  977. {
  978. "href" : "http://dev01:8080/api/v1/clusters/vm/services/NAGIOS/components/NAGIOS_SERVER",
  979. "ServiceComponentInfo" : {
  980. "cluster_name" : "vm",
  981. "component_name" : "NAGIOS_SERVER",
  982. "service_name" : "NAGIOS",
  983. "state" : "STARTED",
  984. "desired_configs" : { }
  985. },
  986. "host_components" : [
  987. {
  988. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/NAGIOS_SERVER",
  989. "HostRoles" : {
  990. "cluster_name" : "vm",
  991. "component_name" : "NAGIOS_SERVER",
  992. "desired_stack_id" : "HDP-2.0.5",
  993. "desired_state" : "STARTED",
  994. "ha_status" : "passive",
  995. "host_name" : "dev01.hortonworks.com",
  996. "nagios_alerts" : {
  997. "alerts" : [
  998. {
  999. "service_description" : "Check ambari-agent process",
  1000. "host_name" : "dev01.hortonworks.com",
  1001. "current_attempt" : "1",
  1002. "current_state" : "0",
  1003. "plugin_output" : "OK: Ambari agent is running [PID:8339]",
  1004. "last_hard_state_change" : "1375462335",
  1005. "last_hard_state" : "0",
  1006. "last_time_ok" : "1375467735",
  1007. "last_time_warning" : "0",
  1008. "last_time_unknown" : "0",
  1009. "last_time_critical" : "0",
  1010. "is_flapping" : "0",
  1011. "last_check" : "1375467735",
  1012. "service_type" : "AMBARI"
  1013. },
  1014. {
  1015. "service_description" : "DataNode process down",
  1016. "host_name" : "dev01.hortonworks.com",
  1017. "current_attempt" : "1",
  1018. "current_state" : "0",
  1019. "plugin_output" : "TCP OK - 0.001 second response time on port 50075",
  1020. "last_hard_state_change" : "1375462338",
  1021. "last_hard_state" : "0",
  1022. "last_time_ok" : "1375467858",
  1023. "last_time_warning" : "0",
  1024. "last_time_unknown" : "0",
  1025. "last_time_critical" : "0",
  1026. "is_flapping" : "0",
  1027. "last_check" : "1375467858",
  1028. "service_type" : "HDFS"
  1029. },
  1030. {
  1031. "service_description" : "DataNode storage full",
  1032. "host_name" : "dev01.hortonworks.com",
  1033. "current_attempt" : "1",
  1034. "current_state" : "0",
  1035. "plugin_output" : "OK: Capacity:[525282689023], Remaining Capacity:[490802098176], percent_full:[6.5641970633246]",
  1036. "last_hard_state_change" : "1375462341",
  1037. "last_hard_state" : "0",
  1038. "last_time_ok" : "1375467741",
  1039. "last_time_warning" : "0",
  1040. "last_time_unknown" : "0",
  1041. "last_time_critical" : "0",
  1042. "is_flapping" : "0",
  1043. "last_check" : "1375467741",
  1044. "service_type" : "HDFS"
  1045. },
  1046. {
  1047. "service_description" : "Ganglia Server [gmond] process down alert for HBase Master",
  1048. "host_name" : "dev01.hortonworks.com",
  1049. "current_attempt" : "1",
  1050. "current_state" : "0",
  1051. "plugin_output" : "TCP OK - 0.001 second response time on port 8663",
  1052. "last_hard_state_change" : "1375462344",
  1053. "last_hard_state" : "0",
  1054. "last_time_ok" : "1375467894",
  1055. "last_time_warning" : "0",
  1056. "last_time_unknown" : "0",
  1057. "last_time_critical" : "0",
  1058. "is_flapping" : "0",
  1059. "last_check" : "1375467894",
  1060. "service_type" : "GANGLIA"
  1061. },
  1062. {
  1063. "service_description" : "Ganglia Server [gmond] process down alert for History Server 2",
  1064. "host_name" : "dev01.hortonworks.com",
  1065. "current_attempt" : "1",
  1066. "current_state" : "0",
  1067. "plugin_output" : "TCP OK - 0.003 second response time on port 8666",
  1068. "last_hard_state_change" : "1375462347",
  1069. "last_hard_state" : "0",
  1070. "last_time_ok" : "1375388826",
  1071. "last_time_warning" : "0",
  1072. "last_time_unknown" : "0",
  1073. "last_time_critical" : "0",
  1074. "is_flapping" : "0",
  1075. "last_check" : "1375467237",
  1076. "service_type" : "GANGLIA"
  1077. },
  1078. {
  1079. "service_description" : "Ganglia Server [gmond] process down alert for NameNode",
  1080. "host_name" : "dev01.hortonworks.com",
  1081. "current_attempt" : "1",
  1082. "current_state" : "0",
  1083. "plugin_output" : "TCP OK - 0.005 second response time on port 8661",
  1084. "last_hard_state_change" : "1375462350",
  1085. "last_hard_state" : "0",
  1086. "last_time_ok" : "1375388829",
  1087. "last_time_warning" : "0",
  1088. "last_time_unknown" : "0",
  1089. "last_time_critical" : "0",
  1090. "is_flapping" : "0",
  1091. "last_check" : "1375467240",
  1092. "service_type" : "GANGLIA"
  1093. },
  1094. {
  1095. "service_description" : "Ganglia Server [gmond] process down alert for NodeManager",
  1096. "host_name" : "dev01.hortonworks.com",
  1097. "current_attempt" : "1",
  1098. "current_state" : "0",
  1099. "plugin_output" : "TCP OK - 0.002 second response time on port 8660",
  1100. "last_hard_state_change" : "1375462353",
  1101. "last_hard_state" : "0",
  1102. "last_time_ok" : "1375467889",
  1103. "last_time_warning" : "0",
  1104. "last_time_unknown" : "0",
  1105. "last_time_critical" : "0",
  1106. "is_flapping" : "0",
  1107. "last_check" : "1375467889",
  1108. "service_type" : "GANGLIA"
  1109. },
  1110. {
  1111. "service_description" : "Ganglia Server [gmond] process down alert for ResourceManager",
  1112. "host_name" : "dev01.hortonworks.com",
  1113. "current_attempt" : "1",
  1114. "current_state" : "0",
  1115. "plugin_output" : "TCP OK - 0.001 second response time on port 8664",
  1116. "last_hard_state_change" : "1375462356",
  1117. "last_hard_state" : "0",
  1118. "last_time_ok" : "1375467891",
  1119. "last_time_warning" : "0",
  1120. "last_time_unknown" : "0",
  1121. "last_time_critical" : "0",
  1122. "is_flapping" : "0",
  1123. "last_check" : "1375467891",
  1124. "service_type" : "GANGLIA"
  1125. },
  1126. {
  1127. "service_description" : "Ganglia Server [gmond] process down alert for slaves",
  1128. "host_name" : "dev01.hortonworks.com",
  1129. "current_attempt" : "1",
  1130. "current_state" : "0",
  1131. "plugin_output" : "TCP OK - 0.003 second response time on port 8660",
  1132. "last_hard_state_change" : "1375462359",
  1133. "last_hard_state" : "0",
  1134. "last_time_ok" : "1375467894",
  1135. "last_time_warning" : "0",
  1136. "last_time_unknown" : "0",
  1137. "last_time_critical" : "0",
  1138. "is_flapping" : "0",
  1139. "last_check" : "1375467894",
  1140. "service_type" : "GANGLIA"
  1141. },
  1142. {
  1143. "service_description" : "Ganglia [gmetad] process down",
  1144. "host_name" : "dev01.hortonworks.com",
  1145. "current_attempt" : "1",
  1146. "current_state" : "0",
  1147. "plugin_output" : "TCP OK - 0.001 second response time on port 8651",
  1148. "last_hard_state_change" : "1375462362",
  1149. "last_hard_state" : "0",
  1150. "last_time_ok" : "1375388826",
  1151. "last_time_warning" : "0",
  1152. "last_time_unknown" : "0",
  1153. "last_time_critical" : "0",
  1154. "is_flapping" : "0",
  1155. "last_check" : "1375467237",
  1156. "service_type" : "GANGLIA"
  1157. },
  1158. {
  1159. "service_description" : "Percent RegionServers down",
  1160. "host_name" : "dev01.hortonworks.com",
  1161. "current_attempt" : "1",
  1162. "current_state" : "0",
  1163. "plugin_output" : "OK: total:<1>, affected:<0>",
  1164. "last_hard_state_change" : "1375462935",
  1165. "last_hard_state" : "0",
  1166. "last_time_ok" : "1375388814",
  1167. "last_time_warning" : "0",
  1168. "last_time_unknown" : "0",
  1169. "last_time_critical" : "1375384494",
  1170. "is_flapping" : "0",
  1171. "last_check" : "1375467225",
  1172. "service_type" : "HBASE"
  1173. },
  1174. {
  1175. "service_description" : "HBase Master CPU utilization",
  1176. "host_name" : "dev01.hortonworks.com",
  1177. "current_attempt" : "1",
  1178. "current_state" : "0",
  1179. "plugin_output" : "1 CPU, load 13.0% < 200% : OK",
  1180. "last_hard_state_change" : "1375462368",
  1181. "last_hard_state" : "0",
  1182. "last_time_ok" : "1375467768",
  1183. "last_time_warning" : "0",
  1184. "last_time_unknown" : "0",
  1185. "last_time_critical" : "0",
  1186. "is_flapping" : "0",
  1187. "last_check" : "1375467768",
  1188. "service_type" : "HBASE"
  1189. },
  1190. {
  1191. "service_description" : "HBase Master Web UI down",
  1192. "host_name" : "dev01.hortonworks.com",
  1193. "current_attempt" : "3",
  1194. "current_state" : "1",
  1195. "plugin_output" : "WARNING: HBase Master web UI not accessible : http://dev01.hortonworks.com:60010/master-status",
  1196. "last_hard_state_change" : "1375467711",
  1197. "last_hard_state" : "1",
  1198. "last_time_ok" : "1375467531",
  1199. "last_time_warning" : "1375467891",
  1200. "last_time_unknown" : "0",
  1201. "last_time_critical" : "0",
  1202. "is_flapping" : "0",
  1203. "last_check" : "1375467891",
  1204. "service_type" : "HBASE"
  1205. },
  1206. {
  1207. "service_description" : "HBase Master process down",
  1208. "host_name" : "dev01.hortonworks.com",
  1209. "current_attempt" : "4",
  1210. "current_state" : "2",
  1211. "plugin_output" : "Connection refused",
  1212. "last_hard_state_change" : "1375467625",
  1213. "last_hard_state" : "2",
  1214. "last_time_ok" : "1375467550",
  1215. "last_time_warning" : "0",
  1216. "last_time_unknown" : "0",
  1217. "last_time_critical" : "1375467895",
  1218. "is_flapping" : "0",
  1219. "last_check" : "1375467895",
  1220. "service_type" : "HBASE"
  1221. },
  1222. {
  1223. "service_description" : "Corrupt/Missing blocks",
  1224. "host_name" : "dev01.hortonworks.com",
  1225. "current_attempt" : "1",
  1226. "current_state" : "0",
  1227. "plugin_output" : "OK: corrupt_blocks:<>, missing_blocks:<>, total_blocks:<>",
  1228. "last_hard_state_change" : "1375462378",
  1229. "last_hard_state" : "0",
  1230. "last_time_ok" : "1375467898",
  1231. "last_time_warning" : "0",
  1232. "last_time_unknown" : "0",
  1233. "last_time_critical" : "0",
  1234. "is_flapping" : "0",
  1235. "last_check" : "1375467898",
  1236. "service_type" : "HDFS"
  1237. },
  1238. {
  1239. "service_description" : "HDFS capacity utilization",
  1240. "host_name" : "dev01.hortonworks.com",
  1241. "current_attempt" : "1",
  1242. "current_state" : "0",
  1243. "plugin_output" : "OK: DFSUsedGB:<0.2>, DFSTotalGB:<457.3>",
  1244. "last_hard_state_change" : "1375462381",
  1245. "last_hard_state" : "0",
  1246. "last_time_ok" : "1375467781",
  1247. "last_time_warning" : "0",
  1248. "last_time_unknown" : "0",
  1249. "last_time_critical" : "0",
  1250. "is_flapping" : "0",
  1251. "last_check" : "1375467781",
  1252. "service_type" : "HDFS"
  1253. },
  1254. {
  1255. "service_description" : "NameNode RPC latency",
  1256. "host_name" : "dev01.hortonworks.com",
  1257. "current_attempt" : "1",
  1258. "current_state" : "0",
  1259. "plugin_output" : "OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0> Secs",
  1260. "last_hard_state_change" : "1375462384",
  1261. "last_hard_state" : "0",
  1262. "last_time_ok" : "1375467784",
  1263. "last_time_warning" : "0",
  1264. "last_time_unknown" : "0",
  1265. "last_time_critical" : "0",
  1266. "is_flapping" : "0",
  1267. "last_check" : "1375467784",
  1268. "service_type" : "HDFS"
  1269. },
  1270. {
  1271. "service_description" : "Percent DataNodes down",
  1272. "host_name" : "dev01.hortonworks.com",
  1273. "current_attempt" : "1",
  1274. "current_state" : "0",
  1275. "plugin_output" : "OK: total:<1>, affected:<0>",
  1276. "last_hard_state_change" : "1375462387",
  1277. "last_hard_state" : "0",
  1278. "last_time_ok" : "1375467877",
  1279. "last_time_warning" : "0",
  1280. "last_time_unknown" : "0",
  1281. "last_time_critical" : "0",
  1282. "is_flapping" : "0",
  1283. "last_check" : "1375467877",
  1284. "service_type" : "HDFS"
  1285. },
  1286. {
  1287. "service_description" : "Percent DataNodes storage full",
  1288. "host_name" : "dev01.hortonworks.com",
  1289. "current_attempt" : "1",
  1290. "current_state" : "0",
  1291. "plugin_output" : "OK: total:<1>, affected:<0>",
  1292. "last_hard_state_change" : "1375462390",
  1293. "last_hard_state" : "0",
  1294. "last_time_ok" : "1375467790",
  1295. "last_time_warning" : "0",
  1296. "last_time_unknown" : "0",
  1297. "last_time_critical" : "0",
  1298. "is_flapping" : "0",
  1299. "last_check" : "1375467790",
  1300. "service_type" : "HDFS"
  1301. },
  1302. {
  1303. "service_description" : "Hive Metastore status check",
  1304. "host_name" : "dev01.hortonworks.com",
  1305. "current_attempt" : "1",
  1306. "current_state" : "0",
  1307. "plugin_output" : "OK: Hive metaserver status OK",
  1308. "last_hard_state_change" : "1375462723",
  1309. "last_hard_state" : "0",
  1310. "last_time_ok" : "1375388812",
  1311. "last_time_warning" : "0",
  1312. "last_time_unknown" : "0",
  1313. "last_time_critical" : "1375384282",
  1314. "is_flapping" : "0",
  1315. "last_check" : "1375467223",
  1316. "service_type" : "HIVE"
  1317. },
  1318. {
  1319. "service_description" : "History Server 2 CPU utilization",
  1320. "host_name" : "dev01.hortonworks.com",
  1321. "current_attempt" : "1",
  1322. "current_state" : "0",
  1323. "plugin_output" : "1 CPU, load 12.0% < 200% : OK",
  1324. "last_hard_state_change" : "1375462396",
  1325. "last_hard_state" : "0",
  1326. "last_time_ok" : "1375467796",
  1327. "last_time_warning" : "0",
  1328. "last_time_unknown" : "0",
  1329. "last_time_critical" : "0",
  1330. "is_flapping" : "0",
  1331. "last_check" : "1375467796",
  1332. "service_type" : "UNKNOWN"
  1333. },
  1334. {
  1335. "service_description" : "History Server 2 RPC latency",
  1336. "host_name" : "dev01.hortonworks.com",
  1337. "current_attempt" : "1",
  1338. "current_state" : "0",
  1339. "plugin_output" : "OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0> Secs",
  1340. "last_hard_state_change" : "1375462399",
  1341. "last_hard_state" : "0",
  1342. "last_time_ok" : "1375467799",
  1343. "last_time_warning" : "0",
  1344. "last_time_unknown" : "0",
  1345. "last_time_critical" : "0",
  1346. "is_flapping" : "0",
  1347. "last_check" : "1375467799",
  1348. "service_type" : "UNKNOWN"
  1349. },
  1350. {
  1351. "service_description" : "History Server 2 Web UI down",
  1352. "host_name" : "dev01.hortonworks.com",
  1353. "current_attempt" : "1",
  1354. "current_state" : "0",
  1355. "plugin_output" : "OK: Successfully accessed historyserver2 Web UI",
  1356. "last_hard_state_change" : "1375462762",
  1357. "last_hard_state" : "0",
  1358. "last_time_ok" : "1375467862",
  1359. "last_time_warning" : "1375384291",
  1360. "last_time_unknown" : "0",
  1361. "last_time_critical" : "0",
  1362. "is_flapping" : "0",
  1363. "last_check" : "1375467862",
  1364. "service_type" : "UNKNOWN"
  1365. },
  1366. {
  1367. "service_description" : "Percent TaskTrackers down",
  1368. "host_name" : "dev01.hortonworks.com",
  1369. "current_attempt" : "1",
  1370. "current_state" : "0",
  1371. "plugin_output" : "OK: total:<0>, affected:<0>",
  1372. "last_hard_state_change" : "1375462405",
  1373. "last_hard_state" : "0",
  1374. "last_time_ok" : "1375467895",
  1375. "last_time_warning" : "0",
  1376. "last_time_unknown" : "0",
  1377. "last_time_critical" : "0",
  1378. "is_flapping" : "0",
  1379. "last_check" : "1375467895",
  1380. "service_type" : "MAPREDUCE"
  1381. },
  1382. {
  1383. "service_description" : "Nagios status log staleness",
  1384. "host_name" : "dev01.hortonworks.com",
  1385. "current_attempt" : "1",
  1386. "current_state" : "0",
  1387. "plugin_output" : "NAGIOS OK: 2 processes, status log updated 6 seconds ago",
  1388. "last_hard_state_change" : "1375462408",
  1389. "last_hard_state" : "0",
  1390. "last_time_ok" : "1375467808",
  1391. "last_time_warning" : "0",
  1392. "last_time_unknown" : "0",
  1393. "last_time_critical" : "0",
  1394. "is_flapping" : "0",
  1395. "last_check" : "1375467808",
  1396. "service_type" : "NAGIOS"
  1397. },
  1398. {
  1399. "service_description" : "NameNode Web UI down",
  1400. "host_name" : "dev01.hortonworks.com",
  1401. "current_attempt" : "1",
  1402. "current_state" : "0",
  1403. "plugin_output" : "OK: Successfully accessed namenode Web UI",
  1404. "last_hard_state_change" : "1375462411",
  1405. "last_hard_state" : "0",
  1406. "last_time_ok" : "1375467871",
  1407. "last_time_warning" : "0",
  1408. "last_time_unknown" : "0",
  1409. "last_time_critical" : "0",
  1410. "is_flapping" : "0",
  1411. "last_check" : "1375467871",
  1412. "service_type" : "HDFS"
  1413. },
  1414. {
  1415. "service_description" : "NameNode edit logs directory status",
  1416. "host_name" : "dev01.hortonworks.com",
  1417. "current_attempt" : "1",
  1418. "current_state" : "0",
  1419. "plugin_output" : "OK: All Namenode directories are active",
  1420. "last_hard_state_change" : "1375462415",
  1421. "last_hard_state" : "0",
  1422. "last_time_ok" : "1375467875",
  1423. "last_time_warning" : "0",
  1424. "last_time_unknown" : "0",
  1425. "last_time_critical" : "0",
  1426. "is_flapping" : "0",
  1427. "last_check" : "1375467875",
  1428. "service_type" : "HDFS"
  1429. },
  1430. {
  1431. "service_description" : "NameNode host CPU utilization",
  1432. "host_name" : "dev01.hortonworks.com",
  1433. "current_attempt" : "1",
  1434. "current_state" : "0",
  1435. "plugin_output" : "1 CPU, load 12.0% < 200% : OK",
  1436. "last_hard_state_change" : "1375462418",
  1437. "last_hard_state" : "0",
  1438. "last_time_ok" : "1375467818",
  1439. "last_time_warning" : "0",
  1440. "last_time_unknown" : "0",
  1441. "last_time_critical" : "0",
  1442. "is_flapping" : "0",
  1443. "last_check" : "1375467818",
  1444. "service_type" : "HDFS"
  1445. },
  1446. {
  1447. "service_description" : "NameNode process down",
  1448. "host_name" : "dev01.hortonworks.com",
  1449. "current_attempt" : "1",
  1450. "current_state" : "0",
  1451. "plugin_output" : "TCP OK - 0.001 second response time on port 8020",
  1452. "last_hard_state_change" : "1375462421",
  1453. "last_hard_state" : "0",
  1454. "last_time_ok" : "1375467881",
  1455. "last_time_warning" : "0",
  1456. "last_time_unknown" : "0",
  1457. "last_time_critical" : "0",
  1458. "is_flapping" : "0",
  1459. "last_check" : "1375467881",
  1460. "service_type" : "HDFS"
  1461. },
  1462. {
  1463. "service_description" : "NodeManager process down",
  1464. "host_name" : "dev01.hortonworks.com",
  1465. "current_attempt" : "1",
  1466. "current_state" : "0",
  1467. "plugin_output" : "TCP OK - 0.001 second response time on port 8042",
  1468. "last_hard_state_change" : "1375462964",
  1469. "last_hard_state" : "0",
  1470. "last_time_ok" : "1375467884",
  1471. "last_time_warning" : "0",
  1472. "last_time_unknown" : "0",
  1473. "last_time_critical" : "1375384493",
  1474. "is_flapping" : "0",
  1475. "last_check" : "1375467884",
  1476. "service_type" : "UNKNOWN"
  1477. },
  1478. {
  1479. "service_description" : "Oozie Server status check",
  1480. "host_name" : "dev01.hortonworks.com",
  1481. "current_attempt" : "1",
  1482. "current_state" : "0",
  1483. "plugin_output" : "OK: Oozie server status [System mode: NORMAL]",
  1484. "last_hard_state_change" : "1375462787",
  1485. "last_hard_state" : "0",
  1486. "last_time_ok" : "1375467887",
  1487. "last_time_warning" : "0",
  1488. "last_time_unknown" : "0",
  1489. "last_time_critical" : "1375384316",
  1490. "is_flapping" : "0",
  1491. "last_check" : "1375467887",
  1492. "service_type" : "OOZIE"
  1493. },
  1494. {
  1495. "service_description" : "RegionServer process down",
  1496. "host_name" : "dev01.hortonworks.com",
  1497. "current_attempt" : "3",
  1498. "current_state" : "2",
  1499. "plugin_output" : "Connection refused",
  1500. "last_hard_state_change" : "1375467350",
  1501. "last_hard_state" : "2",
  1502. "last_time_ok" : "1375388819",
  1503. "last_time_warning" : "0",
  1504. "last_time_unknown" : "0",
  1505. "last_time_critical" : "1375467890",
  1506. "is_flapping" : "0",
  1507. "last_check" : "1375467890",
  1508. "service_type" : "HBASE"
  1509. },
  1510. {
  1511. "service_description" : "ResourceManager CPU utilization",
  1512. "host_name" : "dev01.hortonworks.com",
  1513. "current_attempt" : "1",
  1514. "current_state" : "0",
  1515. "plugin_output" : "1 CPU, load 11.0% < 200% : OK",
  1516. "last_hard_state_change" : "1375462433",
  1517. "last_hard_state" : "0",
  1518. "last_time_ok" : "1375467833",
  1519. "last_time_warning" : "0",
  1520. "last_time_unknown" : "0",
  1521. "last_time_critical" : "0",
  1522. "is_flapping" : "0",
  1523. "last_check" : "1375467833",
  1524. "service_type" : "UNKNOWN"
  1525. },
  1526. {
  1527. "service_description" : "ResourceManager RPC latency",
  1528. "host_name" : "dev01.hortonworks.com",
  1529. "current_attempt" : "1",
  1530. "current_state" : "0",
  1531. "plugin_output" : "OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0> Secs",
  1532. "last_hard_state_change" : "1375462436",
  1533. "last_hard_state" : "0",
  1534. "last_time_ok" : "1375467836",
  1535. "last_time_warning" : "0",
  1536. "last_time_unknown" : "0",
  1537. "last_time_critical" : "0",
  1538. "is_flapping" : "0",
  1539. "last_check" : "1375467836",
  1540. "service_type" : "UNKNOWN"
  1541. },
  1542. {
  1543. "service_description" : "ResourceManager Web UI down",
  1544. "host_name" : "dev01.hortonworks.com",
  1545. "current_attempt" : "1",
  1546. "current_state" : "0",
  1547. "plugin_output" : "OK: Successfully accessed resorcemanager Web UI",
  1548. "last_hard_state_change" : "1375462859",
  1549. "last_hard_state" : "0",
  1550. "last_time_ok" : "1375467899",
  1551. "last_time_warning" : "1375384388",
  1552. "last_time_unknown" : "0",
  1553. "last_time_critical" : "0",
  1554. "is_flapping" : "0",
  1555. "last_check" : "1375467899",
  1556. "service_type" : "UNKNOWN"
  1557. },
  1558. {
  1559. "service_description" : "WebHCat Server status check",
  1560. "host_name" : "dev01.hortonworks.com",
  1561. "current_attempt" : "1",
  1562. "current_state" : "0",
  1563. "plugin_output" : "",
  1564. "last_hard_state_change" : "1375463162",
  1565. "last_hard_state" : "0",
  1566. "last_time_ok" : "1375467842",
  1567. "last_time_warning" : "0",
  1568. "last_time_unknown" : "0",
  1569. "last_time_critical" : "1375384691",
  1570. "is_flapping" : "",
  1571. "last_check" : "",
  1572. "service_type" : "WEBHCAT"
  1573. },
  1574. {
  1575. "service_description" : "Percent ZooKeeper Servers down",
  1576. "host_name" : "dev01.hortonworks.com",
  1577. "current_attempt" : "1",
  1578. "current_state" : "0",
  1579. "plugin_output" : "OK: total:<1>, affected:<0>",
  1580. "last_hard_state_change" : "1375462715",
  1581. "last_hard_state" : "0",
  1582. "last_time_ok" : "1375467875",
  1583. "last_time_warning" : "0",
  1584. "last_time_unknown" : "0",
  1585. "last_time_critical" : "1375384274",
  1586. "is_flapping" : "0",
  1587. "last_check" : "1375467875",
  1588. "service_type" : "ZOOKEEPER"
  1589. },
  1590. {
  1591. "service_description" : "ZooKeeper Server process down",
  1592. "host_name" : "dev01.hortonworks.com",
  1593. "current_attempt" : "1",
  1594. "current_state" : "0",
  1595. "plugin_output" : "TCP OK - 0.001 second response time on port 2181",
  1596. "last_hard_state_change" : "1375462688",
  1597. "last_hard_state" : "0",
  1598. "last_time_ok" : "1375467848",
  1599. "last_time_warning" : "0",
  1600. "last_time_unknown" : "0",
  1601. "last_time_critical" : "1375384217",
  1602. "is_flapping" : "0",
  1603. "last_check" : "1375467848",
  1604. "service_type" : "ZOOKEEPER"
  1605. }
  1606. ],
  1607. "hostcounts" : {
  1608. "up_hosts" : "1",
  1609. "down_hosts" : "0"
  1610. },
  1611. "servicestates" : {
  1612. "PUPPET" : "0",
  1613. "HIVE-METASTORE" : "0",
  1614. "HDFS" : "0",
  1615. "OOZIE" : "0",
  1616. "WEBHCAT" : "0",
  1617. "ZOOKEEPER" : "0"
  1618. }
  1619. },
  1620. "service_name" : "NAGIOS",
  1621. "stack_id" : "HDP-2.0.5",
  1622. "state" : "STARTED",
  1623. "actual_configs" : {
  1624. "capacity-scheduler" : {
  1625. "tag" : "version1"
  1626. },
  1627. "core-site" : {
  1628. "tag" : "version1"
  1629. },
  1630. "global" : {
  1631. "tag" : "version1"
  1632. },
  1633. "hbase-site" : {
  1634. "tag" : "version1"
  1635. },
  1636. "hdfs-site" : {
  1637. "tag" : "version1"
  1638. },
  1639. "hive-site" : {
  1640. "tag" : "version1"
  1641. },
  1642. "mapred-queue-acls" : {
  1643. "tag" : "version1"
  1644. },
  1645. "mapred-site" : {
  1646. "tag" : "version1"
  1647. },
  1648. "oozie-site" : {
  1649. "tag" : "version1"
  1650. },
  1651. "webhcat-site" : {
  1652. "tag" : "version1"
  1653. },
  1654. "yarn-site" : {
  1655. "tag" : "version1"
  1656. }
  1657. },
  1658. "configs" : { },
  1659. "desired_configs" : { }
  1660. }
  1661. }
  1662. ]
  1663. }
  1664. ]
  1665. },
  1666. {
  1667. "href" : "http://dev01:8080/api/v1/clusters/vm/services/OOZIE",
  1668. "ServiceInfo" : {
  1669. "cluster_name" : "vm",
  1670. "service_name" : "OOZIE"
  1671. },
  1672. "components" : [
  1673. {
  1674. "href" : "http://dev01:8080/api/v1/clusters/vm/services/OOZIE/components/OOZIE_CLIENT",
  1675. "ServiceComponentInfo" : {
  1676. "cluster_name" : "vm",
  1677. "component_name" : "OOZIE_CLIENT",
  1678. "service_name" : "OOZIE",
  1679. "state" : "INSTALLED",
  1680. "desired_configs" : { }
  1681. },
  1682. "host_components" : [
  1683. {
  1684. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/OOZIE_CLIENT",
  1685. "HostRoles" : {
  1686. "cluster_name" : "vm",
  1687. "component_name" : "OOZIE_CLIENT",
  1688. "desired_stack_id" : "HDP-2.0.5",
  1689. "desired_state" : "INSTALLED",
  1690. "ha_status" : "passive",
  1691. "host_name" : "dev01.hortonworks.com",
  1692. "service_name" : "OOZIE",
  1693. "stack_id" : "HDP-2.0.5",
  1694. "state" : "INSTALLED",
  1695. "actual_configs" : { },
  1696. "configs" : { },
  1697. "desired_configs" : { }
  1698. }
  1699. }
  1700. ]
  1701. },
  1702. {
  1703. "href" : "http://dev01:8080/api/v1/clusters/vm/services/OOZIE/components/OOZIE_SERVER",
  1704. "ServiceComponentInfo" : {
  1705. "cluster_name" : "vm",
  1706. "component_name" : "OOZIE_SERVER",
  1707. "service_name" : "OOZIE",
  1708. "state" : "STARTED",
  1709. "desired_configs" : { }
  1710. },
  1711. "host_components" : [
  1712. {
  1713. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/OOZIE_SERVER",
  1714. "HostRoles" : {
  1715. "cluster_name" : "vm",
  1716. "component_name" : "OOZIE_SERVER",
  1717. "desired_stack_id" : "HDP-2.0.5",
  1718. "desired_state" : "STARTED",
  1719. "ha_status" : "passive",
  1720. "host_name" : "dev01.hortonworks.com",
  1721. "service_name" : "OOZIE",
  1722. "stack_id" : "HDP-2.0.5",
  1723. "state" : "STARTED",
  1724. "actual_configs" : {
  1725. "capacity-scheduler" : {
  1726. "tag" : "version1"
  1727. },
  1728. "core-site" : {
  1729. "tag" : "version1"
  1730. },
  1731. "global" : {
  1732. "tag" : "version1"
  1733. },
  1734. "hbase-site" : {
  1735. "tag" : "version1"
  1736. },
  1737. "hdfs-site" : {
  1738. "tag" : "version1"
  1739. },
  1740. "hive-site" : {
  1741. "tag" : "version1"
  1742. },
  1743. "mapred-queue-acls" : {
  1744. "tag" : "version1"
  1745. },
  1746. "mapred-site" : {
  1747. "tag" : "version1"
  1748. },
  1749. "oozie-site" : {
  1750. "tag" : "version1"
  1751. },
  1752. "webhcat-site" : {
  1753. "tag" : "version1"
  1754. },
  1755. "yarn-site" : {
  1756. "tag" : "version1"
  1757. }
  1758. },
  1759. "configs" : { },
  1760. "desired_configs" : { }
  1761. }
  1762. }
  1763. ]
  1764. }
  1765. ]
  1766. },
  1767. {
  1768. "href" : "http://dev01:8080/api/v1/clusters/vm/services/PIG",
  1769. "ServiceInfo" : {
  1770. "cluster_name" : "vm",
  1771. "service_name" : "PIG"
  1772. },
  1773. "components" : [
  1774. {
  1775. "href" : "http://dev01:8080/api/v1/clusters/vm/services/PIG/components/PIG",
  1776. "ServiceComponentInfo" : {
  1777. "cluster_name" : "vm",
  1778. "component_name" : "PIG",
  1779. "service_name" : "PIG",
  1780. "state" : "INSTALLED",
  1781. "desired_configs" : { }
  1782. },
  1783. "host_components" : [
  1784. {
  1785. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/PIG",
  1786. "HostRoles" : {
  1787. "cluster_name" : "vm",
  1788. "component_name" : "PIG",
  1789. "desired_stack_id" : "HDP-2.0.5",
  1790. "desired_state" : "INSTALLED",
  1791. "ha_status" : "passive",
  1792. "host_name" : "dev01.hortonworks.com",
  1793. "service_name" : "PIG",
  1794. "stack_id" : "HDP-2.0.5",
  1795. "state" : "INSTALLED",
  1796. "actual_configs" : { },
  1797. "configs" : { },
  1798. "desired_configs" : { }
  1799. }
  1800. }
  1801. ]
  1802. }
  1803. ]
  1804. },
  1805. {
  1806. "href" : "http://dev01:8080/api/v1/clusters/vm/services/WEBHCAT",
  1807. "ServiceInfo" : {
  1808. "cluster_name" : "vm",
  1809. "service_name" : "WEBHCAT"
  1810. },
  1811. "components" : [
  1812. {
  1813. "href" : "http://dev01:8080/api/v1/clusters/vm/services/WEBHCAT/components/WEBHCAT_SERVER",
  1814. "ServiceComponentInfo" : {
  1815. "cluster_name" : "vm",
  1816. "component_name" : "WEBHCAT_SERVER",
  1817. "service_name" : "WEBHCAT",
  1818. "state" : "STARTED",
  1819. "desired_configs" : { }
  1820. },
  1821. "host_components" : [
  1822. {
  1823. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/WEBHCAT_SERVER",
  1824. "HostRoles" : {
  1825. "cluster_name" : "vm",
  1826. "component_name" : "WEBHCAT_SERVER",
  1827. "desired_stack_id" : "HDP-2.0.5",
  1828. "desired_state" : "STARTED",
  1829. "ha_status" : "passive",
  1830. "host_name" : "dev01.hortonworks.com",
  1831. "service_name" : "WEBHCAT",
  1832. "stack_id" : "HDP-2.0.5",
  1833. "state" : "STARTED",
  1834. "actual_configs" : {
  1835. "capacity-scheduler" : {
  1836. "tag" : "version1"
  1837. },
  1838. "core-site" : {
  1839. "tag" : "version1"
  1840. },
  1841. "global" : {
  1842. "tag" : "version1"
  1843. },
  1844. "hbase-site" : {
  1845. "tag" : "version1"
  1846. },
  1847. "hdfs-site" : {
  1848. "tag" : "version1"
  1849. },
  1850. "hive-site" : {
  1851. "tag" : "version1"
  1852. },
  1853. "mapred-queue-acls" : {
  1854. "tag" : "version1"
  1855. },
  1856. "mapred-site" : {
  1857. "tag" : "version1"
  1858. },
  1859. "oozie-site" : {
  1860. "tag" : "version1"
  1861. },
  1862. "webhcat-site" : {
  1863. "tag" : "version1"
  1864. },
  1865. "yarn-site" : {
  1866. "tag" : "version1"
  1867. }
  1868. },
  1869. "configs" : { },
  1870. "desired_configs" : { }
  1871. }
  1872. }
  1873. ]
  1874. }
  1875. ]
  1876. },
  1877. {
  1878. "href" : "http://dev01:8080/api/v1/clusters/vm/services/YARN",
  1879. "ServiceInfo" : {
  1880. "cluster_name" : "vm",
  1881. "service_name" : "YARN"
  1882. },
  1883. "components" : [
  1884. {
  1885. "href" : "http://dev01:8080/api/v1/clusters/vm/services/YARN/components/NODEMANAGER",
  1886. "ServiceComponentInfo" : {
  1887. "cluster_name" : "vm",
  1888. "component_name" : "NODEMANAGER",
  1889. "service_name" : "YARN",
  1890. "state" : "STARTED",
  1891. "desired_configs" : { }
  1892. },
  1893. "host_components" : [
  1894. {
  1895. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/NODEMANAGER",
  1896. "HostRoles" : {
  1897. "cluster_name" : "vm",
  1898. "component_name" : "NODEMANAGER",
  1899. "desired_stack_id" : "HDP-2.0.5",
  1900. "desired_state" : "STARTED",
  1901. "ha_status" : "passive",
  1902. "host_name" : "dev01.hortonworks.com",
  1903. "service_name" : "YARN",
  1904. "stack_id" : "HDP-2.0.5",
  1905. "state" : "INSTALLED",
  1906. "actual_configs" : {
  1907. "capacity-scheduler" : {
  1908. "tag" : "version1"
  1909. },
  1910. "core-site" : {
  1911. "tag" : "version1"
  1912. },
  1913. "global" : {
  1914. "tag" : "version1"
  1915. },
  1916. "hbase-site" : {
  1917. "tag" : "version1"
  1918. },
  1919. "hdfs-site" : {
  1920. "tag" : "version1"
  1921. },
  1922. "hive-site" : {
  1923. "tag" : "version1"
  1924. },
  1925. "mapred-queue-acls" : {
  1926. "tag" : "version1"
  1927. },
  1928. "mapred-site" : {
  1929. "tag" : "version1"
  1930. },
  1931. "oozie-site" : {
  1932. "tag" : "version1"
  1933. },
  1934. "webhcat-site" : {
  1935. "tag" : "version1"
  1936. },
  1937. "yarn-site" : {
  1938. "tag" : "version1"
  1939. }
  1940. },
  1941. "configs" : { },
  1942. "desired_configs" : { }
  1943. },
  1944. "metrics" : {
  1945. "cpu" : {
  1946. "cpu_wio" : 0.1
  1947. },
  1948. "jvm" : {
  1949. "memHeapCommittedM" : 28.5625,
  1950. "memHeapUsedM" : 11.703217
  1951. }
  1952. }
  1953. }
  1954. ]
  1955. },
  1956. {
  1957. "href" : "http://dev01:8080/api/v1/clusters/vm/services/YARN/components/RESOURCEMANAGER",
  1958. "ServiceComponentInfo" : {
  1959. "StartTime" : 1375384390054,
  1960. "cluster_name" : "vm",
  1961. "component_name" : "RESOURCEMANAGER",
  1962. "service_name" : "YARN",
  1963. "state" : "STARTED",
  1964. "desired_configs" : { },
  1965. "rm_metrics" : {
  1966. "cluster" : {
  1967. "activeNMcount" : 1,
  1968. "decommissionedNMcount" : 0,
  1969. "lostNMcount" : 0,
  1970. "nodeManagers" : "[{\"HostName\":\"dev01.hortonworks.com\",\"Rack\":\"/default-rack\",\"State\":\"RUNNING\",\"NodeId\":\"dev01.hortonworks.com:45454\",\"NodeHTTPAddress\":\"dev01.hortonworks.com:8042\",\"LastHealthUpdate\":1375467828765,\"HealthReport\":\"\",\"NumContainers\":0,\"UsedMemoryMB\":0,\"AvailableMemoryMB\":8192}]",
  1971. "rebootedNMcount" : 0,
  1972. "unhealthyNMcount" : 0
  1973. }
  1974. }
  1975. },
  1976. "host_components" : [
  1977. {
  1978. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/RESOURCEMANAGER",
  1979. "HostRoles" : {
  1980. "cluster_name" : "vm",
  1981. "component_name" : "RESOURCEMANAGER",
  1982. "desired_stack_id" : "HDP-2.0.5",
  1983. "desired_state" : "STARTED",
  1984. "ha_status" : "passive",
  1985. "host_name" : "dev01.hortonworks.com",
  1986. "service_name" : "YARN",
  1987. "stack_id" : "HDP-2.0.5",
  1988. "state" : "STARTED",
  1989. "actual_configs" : {
  1990. "capacity-scheduler" : {
  1991. "tag" : "version1"
  1992. },
  1993. "core-site" : {
  1994. "tag" : "version1"
  1995. },
  1996. "global" : {
  1997. "tag" : "version1"
  1998. },
  1999. "hbase-site" : {
  2000. "tag" : "version1"
  2001. },
  2002. "hdfs-site" : {
  2003. "tag" : "version1"
  2004. },
  2005. "hive-site" : {
  2006. "tag" : "version1"
  2007. },
  2008. "mapred-queue-acls" : {
  2009. "tag" : "version1"
  2010. },
  2011. "mapred-site" : {
  2012. "tag" : "version1"
  2013. },
  2014. "oozie-site" : {
  2015. "tag" : "version1"
  2016. },
  2017. "webhcat-site" : {
  2018. "tag" : "version1"
  2019. },
  2020. "yarn-site" : {
  2021. "tag" : "version1"
  2022. }
  2023. },
  2024. "configs" : { },
  2025. "desired_configs" : { }
  2026. },
  2027. "metrics" : {
  2028. "cpu" : {
  2029. "cpu_wio" : 0.193333333333
  2030. },
  2031. "jvm" : {
  2032. "memHeapCommittedM" : 28.625,
  2033. "memHeapUsedM" : 17.415817
  2034. },
  2035. "yarn" : {
  2036. "Queue" : {
  2037. "root" : {
  2038. "ActiveApplications" : 0,
  2039. "ActiveUsers" : 0,
  2040. "AggregateContainersAllocated" : 0,
  2041. "AggregateContainersReleased" : 0,
  2042. "AllocatedContainers" : 0,
  2043. "AllocatedMB" : 0,
  2044. "AllocatedVCores" : 0,
  2045. "AppsCompleted" : 0,
  2046. "AppsFailed" : 0,
  2047. "AppsKilled" : 0,
  2048. "AppsPending" : 0,
  2049. "AppsRunning" : 0,
  2050. "AppsSubmitted" : 0,
  2051. "AvailableMB" : 8192,
  2052. "AvailableVCores" : 1,
  2053. "PendingContainers" : 0,
  2054. "PendingMB" : 0,
  2055. "PendingVCores" : 0,
  2056. "ReservedContainers" : 0,
  2057. "ReservedMB" : 0,
  2058. "ReservedVCores" : 0,
  2059. "running_1440" : 0,
  2060. "running_300" : 0,
  2061. "running_60" : 0,
  2062. "default" : {
  2063. "ActiveApplications" : 0,
  2064. "ActiveUsers" : 0,
  2065. "AggregateContainersAllocated" : 0,
  2066. "AggregateContainersReleased" : 0,
  2067. "AllocatedContainers" : 0,
  2068. "AllocatedMB" : 0,
  2069. "AllocatedVCores" : 0,
  2070. "AppsCompleted" : 0,
  2071. "AppsFailed" : 0,
  2072. "AppsKilled" : 0,
  2073. "AppsPending" : 0,
  2074. "AppsRunning" : 0,
  2075. "AppsSubmitted" : 0,
  2076. "AvailableMB" : 8192,
  2077. "AvailableVCores" : 1,
  2078. "PendingContainers" : 0,
  2079. "PendingMB" : 0,
  2080. "PendingVCores" : 0,
  2081. "ReservedContainers" : 0,
  2082. "ReservedMB" : 0,
  2083. "ReservedVCores" : 0,
  2084. "running_1440" : 0,
  2085. "running_300" : 0,
  2086. "running_60" : 0
  2087. }
  2088. }
  2089. }
  2090. }
  2091. }
  2092. }
  2093. ]
  2094. },
  2095. {
  2096. "href" : "http://dev01:8080/api/v1/clusters/vm/services/YARN/components/YARN_CLIENT",
  2097. "ServiceComponentInfo" : {
  2098. "cluster_name" : "vm",
  2099. "component_name" : "YARN_CLIENT",
  2100. "service_name" : "YARN",
  2101. "state" : "INSTALLED",
  2102. "desired_configs" : { }
  2103. },
  2104. "host_components" : [
  2105. {
  2106. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/YARN_CLIENT",
  2107. "HostRoles" : {
  2108. "cluster_name" : "vm",
  2109. "component_name" : "YARN_CLIENT",
  2110. "desired_stack_id" : "HDP-2.0.5",
  2111. "desired_state" : "INSTALLED",
  2112. "ha_status" : "passive",
  2113. "host_name" : "dev01.hortonworks.com",
  2114. "service_name" : "YARN",
  2115. "stack_id" : "HDP-2.0.5",
  2116. "state" : "INSTALLED",
  2117. "actual_configs" : { },
  2118. "configs" : { },
  2119. "desired_configs" : { }
  2120. }
  2121. }
  2122. ]
  2123. }
  2124. ]
  2125. },
  2126. {
  2127. "href" : "http://dev01:8080/api/v1/clusters/vm/services/ZOOKEEPER",
  2128. "ServiceInfo" : {
  2129. "cluster_name" : "vm",
  2130. "service_name" : "ZOOKEEPER"
  2131. },
  2132. "components" : [
  2133. {
  2134. "href" : "http://dev01:8080/api/v1/clusters/vm/services/ZOOKEEPER/components/ZOOKEEPER_CLIENT",
  2135. "ServiceComponentInfo" : {
  2136. "cluster_name" : "vm",
  2137. "component_name" : "ZOOKEEPER_CLIENT",
  2138. "service_name" : "ZOOKEEPER",
  2139. "state" : "INSTALLED",
  2140. "desired_configs" : { }
  2141. },
  2142. "host_components" : [
  2143. {
  2144. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/ZOOKEEPER_CLIENT",
  2145. "HostRoles" : {
  2146. "cluster_name" : "vm",
  2147. "component_name" : "ZOOKEEPER_CLIENT",
  2148. "desired_stack_id" : "HDP-2.0.5",
  2149. "desired_state" : "INSTALLED",
  2150. "ha_status" : "passive",
  2151. "host_name" : "dev01.hortonworks.com",
  2152. "service_name" : "ZOOKEEPER",
  2153. "stack_id" : "HDP-2.0.5",
  2154. "state" : "INSTALLED",
  2155. "actual_configs" : { },
  2156. "configs" : { },
  2157. "desired_configs" : { }
  2158. }
  2159. }
  2160. ]
  2161. },
  2162. {
  2163. "href" : "http://dev01:8080/api/v1/clusters/vm/services/ZOOKEEPER/components/ZOOKEEPER_SERVER",
  2164. "ServiceComponentInfo" : {
  2165. "cluster_name" : "vm",
  2166. "component_name" : "ZOOKEEPER_SERVER",
  2167. "service_name" : "ZOOKEEPER",
  2168. "state" : "STARTED",
  2169. "desired_configs" : { }
  2170. },
  2171. "host_components" : [
  2172. {
  2173. "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.hortonworks.com/host_components/ZOOKEEPER_SERVER",
  2174. "HostRoles" : {
  2175. "cluster_name" : "vm",
  2176. "component_name" : "ZOOKEEPER_SERVER",
  2177. "desired_stack_id" : "HDP-2.0.5",
  2178. "desired_state" : "STARTED",
  2179. "ha_status" : "passive",
  2180. "host_name" : "dev01.hortonworks.com",
  2181. "service_name" : "ZOOKEEPER",
  2182. "stack_id" : "HDP-2.0.5",
  2183. "state" : "STARTED",
  2184. "actual_configs" : {
  2185. "capacity-scheduler" : {
  2186. "tag" : "version1"
  2187. },
  2188. "core-site" : {
  2189. "tag" : "version1"
  2190. },
  2191. "global" : {
  2192. "tag" : "version1"
  2193. },
  2194. "hbase-site" : {
  2195. "tag" : "version1"
  2196. },
  2197. "hdfs-site" : {
  2198. "tag" : "version1"
  2199. },
  2200. "hive-site" : {
  2201. "tag" : "version1"
  2202. },
  2203. "mapred-queue-acls" : {
  2204. "tag" : "version1"
  2205. },
  2206. "mapred-site" : {
  2207. "tag" : "version1"
  2208. },
  2209. "oozie-site" : {
  2210. "tag" : "version1"
  2211. },
  2212. "webhcat-site" : {
  2213. "tag" : "version1"
  2214. },
  2215. "yarn-site" : {
  2216. "tag" : "version1"
  2217. }
  2218. },
  2219. "configs" : { },
  2220. "desired_configs" : { }
  2221. }
  2222. }
  2223. ]
  2224. }
  2225. ]
  2226. }
  2227. ]
  2228. }