global_properties.js 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861
  1. /**
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. /**
  19. * Defines service configuration properties.
  20. * name:
  21. * The name of the config property that is understood by Ambari server and agent.
  22. * E.g., "datanode_du_reserved"
  23. *
  24. * displayName:
  25. * The human-friendly display name of the config property.
  26. * E.g., "Reserved space for HDFS"
  27. *
  28. * description:
  29. * The description of the config property.
  30. * E.g., "Reserved space in GB per volume"
  31. *
  32. * defaultValue:
  33. * The default value of the config property.
  34. * E.g., "1"
  35. *
  36. * isReconfigurable:
  37. * Whether the config property can be reconfigured after it has been initially set and deployed.
  38. * If this is unspecified, true is assumed.
  39. * E.g., true, false
  40. *
  41. * isOverridable:
  42. * Whether the config property can be overridden by hosts.
  43. * If this is unspecified, true is assumed.
  44. *
  45. * isRequired:
  46. * Whether the config property is required or not.
  47. * If this is unspecified, true is assumed.
  48. * E.g., true, false
  49. *
  50. * isRequiredByAgent:
  51. * Whether the config property is required by agent or not.
  52. * If value is false then it will be not persisted in global configuration
  53. *
  54. * displayType:
  55. * How the config property is to be rendered for user input.
  56. * If this is left unspecified, "string" is assumed
  57. * E.g., "string", "int", "float", "checkbox", "directories", "custom", "email", "masterHost", "slaveHosts"
  58. *
  59. * unit
  60. * The unit for the config property.
  61. * E.g., "ms", "MB", "bytes"
  62. *
  63. * serviceName:
  64. * The service that the config property belongs to.
  65. * E.g., "HDFS", "MAPREDUCE2", "ZOOKEEPER", etc.
  66. *
  67. * category: the category that the config property belongs to (used for grouping config properties in the UI).
  68. * if unspecified, "General" is assumed.
  69. * E.g., "General", "Advanced", "NameNode", "DataNode"
  70. *
  71. * index: the sequence number in category, that point to place where config located regarding all rest in category.
  72. * if unspecified, push to the end of array.
  73. * E.g., 0, 1, '2'
  74. */
  75. var App = require('app');
  76. require('config');
  77. module.exports =
  78. {
  79. "configProperties": [
  80. /**********************************************HDFS***************************************/
  81. {
  82. "id": "puppet var",
  83. "name": "namenode_host",
  84. "displayName": "NameNode hosts",
  85. "value": "",
  86. "defaultValue": "",
  87. "description": "The hosts that has been assigned to run NameNode",
  88. "displayType": "masterHosts",
  89. "isOverridable": false,
  90. "isVisible": true,
  91. "isRequiredByAgent": false,
  92. "serviceName": "HDFS",
  93. "category": "NameNode",
  94. "index": 0
  95. },
  96. {
  97. "id": "puppet var",
  98. "name": "namenode_heapsize",
  99. "displayName": "NameNode Java heap size",
  100. "description": "Initial and maximum Java heap size for NameNode (Java options -Xms and -Xmx). This also applies to the Secondary NameNode.",
  101. "defaultValue": "1024",
  102. "displayType": "int",
  103. "unit": "MB",
  104. "isOverridable": false,
  105. "isVisible": true,
  106. "serviceName": "HDFS",
  107. "category": "NameNode",
  108. "index": 2
  109. },
  110. {
  111. "id": "puppet var",
  112. "name": "namenode_opt_newsize",
  113. "displayName": "NameNode new generation size",
  114. "description": "Default size of Java new generation for NameNode (Java option -XX:NewSize). This also applies to the Secondary NameNode.",
  115. "defaultValue": "200",
  116. "displayType": "int",
  117. "unit": "MB",
  118. "isOverridable": false,
  119. "isVisible": true,
  120. "serviceName": "HDFS",
  121. "category": "NameNode",
  122. "index": 3
  123. },
  124. {
  125. "id": "puppet var",
  126. "name": "namenode_opt_maxnewsize",
  127. "displayName": "NameNode maximum new generation size",
  128. "description": "Maximum size of Java new generation for NameNode (Java option -XX:MaxnewSize).",
  129. "defaultValue": "200",
  130. "displayType": "int",
  131. "unit": "MB",
  132. "isOverridable": false,
  133. "isVisible": true,
  134. "serviceName": "HDFS",
  135. "category": "NameNode",
  136. "index": 4
  137. },
  138. {
  139. "id": "puppet var",
  140. "name": "snamenode_host",
  141. "displayName": "SNameNode host",
  142. "value": "",
  143. "defaultValue": "",
  144. "description": "The host that has been assigned to run SecondaryNameNode",
  145. "displayType": "masterHost",
  146. "isOverridable": false,
  147. "isRequiredByAgent": false,
  148. "isVisible": true,
  149. "serviceName": "HDFS",
  150. "category": "SNameNode",
  151. "index": 0
  152. },
  153. {
  154. "id": "puppet var",
  155. "name": "datanode_hosts", //not in the schema. For UI purpose
  156. "displayName": "DataNode hosts",
  157. "value": "",
  158. "defaultValue": "",
  159. "description": "The hosts that have been assigned to run DataNode",
  160. "displayType": "slaveHosts",
  161. "isRequired": false,
  162. "isOverridable": false,
  163. "isVisible": true,
  164. "isRequiredByAgent": false,
  165. "domain": "datanode-global",
  166. "serviceName": "HDFS",
  167. "category": "DataNode",
  168. "index": 0
  169. },
  170. {
  171. "id": "puppet var",
  172. "name": "dtnode_heapsize",
  173. "displayName": "DataNode maximum Java heap size",
  174. "description": "Maximum Java heap size for DataNode (Java option -Xmx)",
  175. "defaultValue": "1024",
  176. "displayType": "int",
  177. "unit": "MB",
  178. "isVisible": true,
  179. "domain": "datanode-global",
  180. "serviceName": "HDFS",
  181. "category": "DataNode",
  182. "index": 2
  183. },
  184. {
  185. "id": "puppet var",
  186. "name": "hadoop_heapsize",
  187. "displayName": "Hadoop maximum Java heap size",
  188. "description": "Maximum Java heap size for daemons such as Balancer (Java option -Xmx)",
  189. "defaultValue": "1024",
  190. "displayType": "int",
  191. "unit": "MB",
  192. "isVisible": true,
  193. "serviceName": "HDFS",
  194. "index": 1
  195. },
  196. {
  197. "id": "puppet var",
  198. "name": "hdfs_log_dir_prefix",
  199. "displayName": "Hadoop Log Dir Prefix",
  200. "description": "The parent directory for Hadoop log files. The HDFS log directory will be ${hadoop_log_dir_prefix} / ${hdfs_user} and the MapReduce log directory will be ${hadoop_log_dir_prefix} / ${mapred_user}.",
  201. "defaultValue": "/var/log/hadoop",
  202. "isReconfigurable": false,
  203. "displayType": "directory",
  204. "isOverridable": false,
  205. "isVisible": true,
  206. "serviceName": "HDFS",
  207. "category": "Advanced"
  208. },
  209. {
  210. "id": "puppet var",
  211. "name": "hadoop_pid_dir_prefix",
  212. "displayName": "Hadoop PID Dir Prefix",
  213. "description": "The parent directory in which the PID files for Hadoop processes will be created. The HDFS PID directory will be ${hadoop_pid_dir_prefix} / ${hdfs_user} and the MapReduce PID directory will be ${hadoop_pid_dir_prefix} / ${mapred_user}.",
  214. "defaultValue": "/var/run/hadoop",
  215. "isReconfigurable": false,
  216. "displayType": "directory",
  217. "isOverridable": false,
  218. "isVisible": true,
  219. "serviceName": "HDFS",
  220. "category": "Advanced"
  221. },
  222. {
  223. "id": "puppet var",
  224. "name": "security_enabled",
  225. "displayName": "Hadoop Security",
  226. "description": "Enable hadoop security",
  227. "defaultValue": 'false',
  228. "isRequired": false,
  229. "displayType": "checkbox",
  230. "isOverridable": false,
  231. "isVisible": false,
  232. "serviceName": "HDFS",
  233. "category": "Advanced"
  234. },
  235. {
  236. "id": "puppet var",
  237. "name": "hcat_conf_dir",
  238. "displayName": "HCat conf directory",
  239. "description": "",
  240. "defaultValue": "",
  241. "isRequired": false,
  242. "isReconfigurable": false,
  243. "displayType": "directory",
  244. "isVisible": false,
  245. "serviceName": "HDFS",
  246. "category": "Advanced"
  247. },
  248. {
  249. "id": "puppet var",
  250. "name": "lzo_enabled",
  251. "displayName": "LZO compression",
  252. "description": "LZO compression enabled",
  253. "defaultValue": true,
  254. "displayType": "checkbox",
  255. "isOverridable": false,
  256. "isVisible": false,
  257. "serviceName": "HDFS"
  258. },
  259. /**********************************************MAPREDUCE2***************************************/
  260. {
  261. "id": "puppet var",
  262. "name": "hs_host",
  263. "displayName": "History Server",
  264. "description": "History Server",
  265. "defaultValue": "",
  266. "isOverridable": false,
  267. "displayType": "masterHost",
  268. "isRequiredByAgent": false,
  269. "isVisible": true,
  270. "serviceName": "MAPREDUCE2",
  271. "category": "HistoryServer",
  272. "index": 0
  273. },
  274. {
  275. "id": "puppet var",
  276. "name": "mapred_log_dir_prefix",
  277. "displayName": "Mapreduce Log Dir Prefix",
  278. "description": "",
  279. "defaultValue": "/var/log/hadoop-mapreduce",
  280. "displayType": "directory",
  281. "isOverridable": false,
  282. "isVisible": true,
  283. "isReconfigurable": false,
  284. "serviceName": "MAPREDUCE2",
  285. "category": "Advanced"
  286. },
  287. {
  288. "id": "puppet var",
  289. "name": "mapred_pid_dir_prefix",
  290. "displayName": "Mapreduce PID Dir Prefix",
  291. "description": "",
  292. "defaultValue": "/var/run/hadoop-mapreduce",
  293. "displayType": "directory",
  294. "isOverridable": false,
  295. "isVisible": true,
  296. "isReconfigurable": false,
  297. "serviceName": "MAPREDUCE2",
  298. "category": "Advanced"
  299. },
  300. /**********************************************YARN***************************************/
  301. {
  302. "id": "puppet var",
  303. "name": "yarn_heapsize",
  304. "displayName": "YARN Java heap size",
  305. "description": "Max heapsize for all YARN components",
  306. "defaultValue": "1024",
  307. "isOverridable": true,
  308. "displayType": "int",
  309. "unit": "MB",
  310. "isVisible": true,
  311. "serviceName": "YARN",
  312. "category": "General",
  313. "index": 0
  314. },
  315. {
  316. "id": "puppet var",
  317. "name": "rm_host",
  318. "displayName": "ResourceManager",
  319. "description": "ResourceManager",
  320. "defaultValue": "",
  321. "isOverridable": false,
  322. "displayType": "masterHost",
  323. "isRequiredByAgent": false,
  324. "isVisible": true,
  325. "serviceName": "YARN",
  326. "category": "ResourceManager",
  327. "index": 0
  328. },
  329. {
  330. "id": "puppet var",
  331. "name": "resourcemanager_heapsize",
  332. "displayName": "ResourceManager Java heap size",
  333. "description": "Max heapsize for ResourceManager",
  334. "defaultValue": "1024",
  335. "isOverridable": false,
  336. "displayType": "int",
  337. "unit": "MB",
  338. "isVisible": true,
  339. "serviceName": "YARN",
  340. "category": "ResourceManager",
  341. "index": 1
  342. },
  343. {
  344. "id": "puppet var",
  345. "name": "nm_hosts",
  346. "displayName": "NodeManager",
  347. "description": "List of NodeManager Hosts.",
  348. "defaultValue": "",
  349. "isOverridable": false,
  350. "displayType": "slaveHosts",
  351. "isRequiredByAgent": false,
  352. "isVisible": true,
  353. "serviceName": "YARN",
  354. "category": "NodeManager",
  355. "index": 0
  356. },
  357. {
  358. "id": "puppet var",
  359. "name": "nodemanager_heapsize",
  360. "displayName": "NodeManager Java heap size",
  361. "description": "Max heapsize for NodeManager",
  362. "defaultValue": "1024",
  363. "isOverridable": true,
  364. "displayType": "int",
  365. "unit": "MB",
  366. "isVisible": true,
  367. "serviceName": "YARN",
  368. "category": "NodeManager",
  369. "index": 0
  370. },
  371. {
  372. "id": "puppet var",
  373. "name": "yarn_log_dir_prefix",
  374. "displayName": "YARN Log Dir Prefix",
  375. "description": "",
  376. "defaultValue": "/var/log/hadoop-yarn",
  377. "displayType": "directory",
  378. "isOverridable": false,
  379. "isReconfigurable": false,
  380. "isVisible": true,
  381. "serviceName": "YARN",
  382. "category": "Advanced"
  383. },
  384. {
  385. "id": "puppet var",
  386. "name": "yarn_pid_dir_prefix",
  387. "displayName": "YARN PID Dir Prefix",
  388. "description": "",
  389. "defaultValue": "/var/run/hadoop-yarn",
  390. "displayType": "directory",
  391. "isOverridable": false,
  392. "isVisible": true,
  393. "isReconfigurable": false,
  394. "serviceName": "YARN",
  395. "category": "Advanced"
  396. },
  397. {
  398. "id": "puppet var",
  399. "name": "ats_host",
  400. "displayName": "App Timeline Server",
  401. "description": "Application Timeline Server Host",
  402. "defaultValue": "",
  403. "isOverridable": false,
  404. "displayType": "masterHost",
  405. "isRequiredByAgent": false,
  406. "isVisible": true,
  407. "serviceName": "YARN",
  408. "category": "AppTimelineServer",
  409. "index": 0
  410. },
  411. {
  412. "id": "puppet var",
  413. "name": "apptimelineserver_heapsize",
  414. "displayName": "AppTimelineServer Java heap size",
  415. "description": "AppTimelineServer Java heap size",
  416. "defaultValue": "1024",
  417. "isOverridable": false,
  418. "displayType": "int",
  419. "unit": "MB",
  420. "isVisible": true,
  421. "serviceName": "YARN",
  422. "category": "AppTimelineServer",
  423. "index": 1
  424. },
  425. /**********************************************HBASE***************************************/
  426. {
  427. "id": "puppet var",
  428. "name": "hbasemaster_host",
  429. "displayName": "HBase Master hosts",
  430. "value": "",
  431. "defaultValue": "",
  432. "description": "The host that has been assigned to run HBase Master",
  433. "displayType": "masterHosts",
  434. "isOverridable": false,
  435. "isRequiredByAgent": false,
  436. "isVisible": true,
  437. "serviceName": "HBASE",
  438. "category": "HBase Master",
  439. "index": 0
  440. },
  441. {
  442. "id": "puppet var",
  443. "name": "hbase_master_heapsize",
  444. "displayName": "HBase Master Maximum Java heap size",
  445. "description": "Maximum Java heap size for HBase master (Java option -Xmx)",
  446. "defaultValue": "1024",
  447. "displayType": "int",
  448. "unit": "MB",
  449. "isOverridable": true,
  450. "isVisible": true,
  451. "serviceName": "HBASE",
  452. "category": "HBase Master",
  453. "index": 1
  454. },
  455. {
  456. "id": "puppet var",
  457. "name": "regionserver_hosts",
  458. "displayName": "RegionServer hosts",
  459. "value": "",
  460. "defaultValue": "",
  461. "description": "The hosts that have been assigned to run RegionServer",
  462. "displayType": "slaveHosts",
  463. "isOverridable": false,
  464. "isRequiredByAgent": false,
  465. "isVisible": true,
  466. "isRequired": false,
  467. "domain": "regionserver-global",
  468. "serviceName": "HBASE",
  469. "category": "RegionServer",
  470. "index": 0
  471. },
  472. {
  473. "id": "puppet var",
  474. "name": "hbase_regionserver_heapsize",
  475. "displayName": "HBase RegionServers maximum Java heap size",
  476. "description": "Maximum Java heap size for HBase RegionServers (Java option -Xmx)",
  477. "defaultValue": "1024",
  478. "displayType": "int",
  479. "unit": "MB",
  480. "isVisible": true,
  481. "domain": "regionserver-global",
  482. "serviceName": "HBASE",
  483. "category": "RegionServer",
  484. "index": 1
  485. },
  486. {
  487. "id": "puppet var",
  488. "name": "hbase_log_dir",
  489. "displayName": "HBase Log Dir",
  490. "description": "Directory for HBase logs",
  491. "defaultValue": "/var/log/hbase",
  492. "isReconfigurable": false,
  493. "displayType": "directory",
  494. "isOverridable": false,
  495. "isVisible": true,
  496. "serviceName": "HBASE",
  497. "category": "Advanced"
  498. },
  499. {
  500. "id": "puppet var",
  501. "name": "hbase_pid_dir",
  502. "displayName": "HBase PID Dir",
  503. "description": "Directory in which the pid files for HBase processes will be created",
  504. "defaultValue": "/var/run/hbase",
  505. "isReconfigurable": false,
  506. "displayType": "directory",
  507. "isOverridable": false,
  508. "isVisible": true,
  509. "serviceName": "HBASE",
  510. "category": "Advanced"
  511. },
  512. /**********************************************GLUSTERFS***************************************/
  513. {
  514. "id": "puppet var",
  515. "name": "glusterfs_defaultFS_name",
  516. "displayName": "GlusterFS default fs name",
  517. "description": "GlusterFS default filesystem name (glusterfs:///)",
  518. "defaultValue": "glusterfs:///",
  519. "displayType": "string",
  520. "isVisible": true,
  521. "domain": "global",
  522. "serviceName": "GLUSTERFS",
  523. "category": "General"
  524. },
  525. {
  526. "id": "puppet var",
  527. "name": "fs_glusterfs_default_name",
  528. "displayName": "GlusterFS default fs name",
  529. "description": "GlusterFS default filesystem name (glusterfs:///)",
  530. "defaultValue": "glusterfs:///",
  531. "displayType": "string",
  532. "isVisible": true,
  533. "domain": "global",
  534. "serviceName": "GLUSTERFS",
  535. "category": "General"
  536. },
  537. {
  538. "id": "puppet var",
  539. "name": "hadoop_heapsize",
  540. "displayName": "Hadoop maximum Java heap size",
  541. "description": "Maximum Java heap size for daemons such as Balancer (Java option -Xmx)",
  542. "defaultValue": "1024",
  543. "displayType": "int",
  544. "unit": "MB",
  545. "isVisible": true,
  546. "domain": "global",
  547. "serviceName": "GLUSTERFS",
  548. "category": "General"
  549. },
  550. /**********************************************HIVE***************************************/
  551. {
  552. "id": "puppet var",
  553. "name": "hivemetastore_host",
  554. "displayName": "Hive Metastore host",
  555. "value": "",
  556. "defaultValue": "",
  557. "description": "The host that has been assigned to run Hive Metastore",
  558. "displayType": "masterHost",
  559. "isOverridable": false,
  560. "isRequiredByAgent": false,
  561. "isVisible": true,
  562. "serviceName": "HIVE",
  563. "category": "Hive Metastore",
  564. "index": 0
  565. },
  566. // for existing MySQL
  567. {
  568. "id": "puppet var",
  569. "name": "hive_existing_mysql_database",
  570. "displayName": "Database Type",
  571. "value": "",
  572. "defaultValue": "MySQL",
  573. "description": "Using an existing MySQL database for Hive Metastore",
  574. "displayType": "masterHost",
  575. "isOverridable": false,
  576. "isVisible": false,
  577. "isReconfigurable": false,
  578. "serviceName": "HIVE",
  579. "category": "Hive Metastore",
  580. "index": 1
  581. },
  582. // for existing PostgreSQL
  583. {
  584. "id": "puppet var",
  585. "name": "hive_existing_postgresql_database",
  586. "displayName": "Database Type",
  587. "value": "",
  588. "defaultValue": "PostgreSQL",
  589. "description": "Using an existing PostgreSQL database for Hive Metastore",
  590. "displayType": "masterHost",
  591. "isOverridable": false,
  592. "isVisible": false,
  593. "isReconfigurable": false,
  594. "serviceName": "HIVE",
  595. "category": "Hive Metastore",
  596. "index": 1
  597. },
  598. // for existing Oracle
  599. {
  600. "id": "puppet var",
  601. "name": "hive_existing_oracle_database",
  602. "displayName": "Database Type",
  603. "value": "",
  604. "defaultValue": "Oracle",
  605. "description": "Using an existing Oracle database for Hive Metastore",
  606. "displayType": "masterHost",
  607. "isVisible": false,
  608. "isOverridable": false,
  609. "isReconfigurable": false,
  610. "serviceName": "HIVE",
  611. "category": "Hive Metastore",
  612. "index": 1
  613. },
  614. // for new MySQL
  615. {
  616. "id": "puppet var",
  617. "name": "hive_ambari_database",
  618. "displayName": "Database Type",
  619. "value": "",
  620. "defaultValue": "MySQL",
  621. "description": "MySQL will be installed by Ambari",
  622. "displayType": "masterHost",
  623. "isOverridable": false,
  624. "isVisible": false,
  625. "serviceName": "HIVE",
  626. "category": "Hive Metastore",
  627. "index": 1
  628. },
  629. {
  630. "id": "puppet var",
  631. "name": "hive_database",
  632. "displayName": "Hive Database",
  633. "value": "",
  634. "defaultValue": "New MySQL Database",
  635. "options": [
  636. {
  637. displayName: 'New MySQL Database',
  638. foreignKeys: ['hive_ambari_database', 'hive_ambari_host']
  639. },
  640. {
  641. displayName: 'Existing MySQL Database',
  642. foreignKeys: ['hive_existing_mysql_database', 'hive_existing_mysql_host']
  643. },
  644. {
  645. displayName: 'Existing PostgreSQL Database',
  646. foreignKeys: ['hive_existing_postgresql_database', 'hive_existing_postgresql_host']
  647. },
  648. {
  649. displayName: 'Existing Oracle Database',
  650. foreignKeys: ['hive_existing_oracle_database', 'hive_existing_oracle_host'],
  651. hidden: !App.supports.hiveOozieExtraDatabases
  652. }
  653. ],
  654. "description": "MySQL will be installed by Ambari",
  655. "displayType": "radio button",
  656. "isReconfigurable": false,
  657. "radioName": "hive-database",
  658. "isOverridable": false,
  659. "isVisible": true,
  660. "serviceName": "HIVE",
  661. "category": "Hive Metastore",
  662. "index": 2
  663. },
  664. {
  665. "id": "puppet var",
  666. "name": "hive_hostname",
  667. "displayName": "Database Host",
  668. "description": "Specify the host on which the database is hosted",
  669. "defaultValue": "",
  670. "isReconfigurable": true,
  671. "displayType": "host",
  672. "isOverridable": false,
  673. "isVisible": false,
  674. "isObserved": true,
  675. "serviceName": "HIVE",
  676. "category": "Hive Metastore",
  677. "index": 3
  678. },
  679. {
  680. "id": "puppet var",
  681. "name": "hive_existing_mysql_host",
  682. "displayName": "Database Host",
  683. "description": "Specify the host on which the existing database is hosted",
  684. "defaultValue": "",
  685. "isReconfigurable": false,
  686. "displayType": "host",
  687. "isOverridable": false,
  688. "isRequiredByAgent": false,
  689. "isVisible": false,
  690. "isObserved": true,
  691. "serviceName": "HIVE",
  692. "category": "Hive Metastore",
  693. "index": 3
  694. },
  695. {
  696. "id": "puppet var",
  697. "name": "hive_existing_postgresql_host",
  698. "displayName": "Database Host",
  699. "description": "Specify the host on which the existing database is hosted",
  700. "defaultValue": "",
  701. "isReconfigurable": false,
  702. "displayType": "host",
  703. "isOverridable": false,
  704. "isRequiredByAgent": false,
  705. "isVisible": false,
  706. "isObserved": true,
  707. "serviceName": "HIVE",
  708. "category": "Hive Metastore",
  709. "index": 3
  710. },
  711. {
  712. "id": "puppet var",
  713. "name": "hive_existing_oracle_host",
  714. "displayName": "Database Host",
  715. "description": "Specify the host on which the existing database is hosted",
  716. "defaultValue": "",
  717. "isReconfigurable": false,
  718. "displayType": "host",
  719. "isOverridable": false,
  720. "isRequiredByAgent": false,
  721. "isVisible": false,
  722. "isObserved": true,
  723. "serviceName": "HIVE",
  724. "category": "Hive Metastore",
  725. "index": 3
  726. },
  727. {
  728. "id": "puppet var",
  729. "name": "hive_ambari_host",
  730. "value": "",
  731. "defaultValue": "",
  732. "displayName": "Database Host",
  733. "description": "Host on which the database will be created by Ambari",
  734. "isReconfigurable": false,
  735. "displayType": "masterHost",
  736. "isRequiredByAgent": false,
  737. "isOverridable": false,
  738. "isVisible": false,
  739. "serviceName": "HIVE",
  740. "category": "Hive Metastore",
  741. "index": 3
  742. },
  743. {
  744. "id": "puppet var",
  745. "name": "hive_metastore_port",
  746. "displayName": "Hive metastore port",
  747. "description": "",
  748. "defaultValue": "9083",
  749. "isReconfigurable": false,
  750. "displayType": "int",
  751. "isOverridable": false,
  752. "isVisible": false,
  753. "serviceName": "HIVE",
  754. "category": "Advanced"
  755. },
  756. {
  757. "id": "puppet var",
  758. "name": "hive_lib",
  759. "displayName": "Hive library",
  760. "description": "",
  761. "defaultValue": "/usr/lib/hive/lib/",
  762. "isReconfigurable": false,
  763. "displayType": "directory",
  764. "isVisible": false,
  765. "isRequiredByAgent": false, // Make this to true when we expose the property on ui by making "isVisible": true
  766. "serviceName": "HIVE",
  767. "category": "Advanced"
  768. },
  769. {
  770. "id": "puppet var",
  771. "name": "hive_dbroot",
  772. "displayName": "Hive db directory",
  773. "description": "",
  774. "defaultValue": "/usr/lib/hive/lib",
  775. "isReconfigurable": false,
  776. "displayType": "directory",
  777. "isVisible": false,
  778. "isRequiredByAgent": false, // Make this to true when we expose the property on ui by making "isVisible": true
  779. "serviceName": "HIVE",
  780. "category": "Advanced"
  781. },
  782. {
  783. "id": "puppet var",
  784. "name": "hive_log_dir",
  785. "displayName": "Hive Log Dir",
  786. "description": "Directory for Hive log files",
  787. "defaultValue": "/var/log/hive",
  788. "isReconfigurable": false,
  789. "displayType": "directory",
  790. "isOverridable": false,
  791. "isVisible": true,
  792. "serviceName": "HIVE",
  793. "category": "Advanced"
  794. },
  795. {
  796. "id": "puppet var",
  797. "name": "hive_pid_dir",
  798. "displayName": "Hive PID Dir",
  799. "description": "Directory in which the PID files for Hive processes will be created",
  800. "defaultValue": "/var/run/hive",
  801. "isReconfigurable": false,
  802. "displayType": "directory",
  803. "isOverridable": false,
  804. "isVisible": true,
  805. "serviceName": "HIVE",
  806. "category": "Advanced"
  807. },
  808. {
  809. "id": "puppet var",
  810. "name": "hive_aux_jars_path",
  811. "displayName": "Hive auxilary jar path",
  812. "description": "",
  813. "defaultValue": "/usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar",
  814. "isReconfigurable": false,
  815. "displayType": "directory",
  816. "isVisible": false,
  817. "serviceName": "HIVE",
  818. "category": "Advanced"
  819. },
  820. /**********************************************WEBHCAT***************************************/
  821. {
  822. "id": "puppet var",
  823. "name": "webhcatserver_host",
  824. "displayName": "WebHCat Server host",
  825. "value": "",
  826. "defaultValue": "",
  827. "description": "The host that has been assigned to run WebHCat Server",
  828. "displayType": "masterHost",
  829. "isOverridable": false,
  830. "isVisible": true,
  831. "isRequiredByAgent": false,
  832. "serviceName": "WEBHCAT",
  833. "category": "WebHCat Server"
  834. },
  835. {
  836. "id": "puppet var",
  837. "name": "hcat_log_dir",
  838. "displayName": "WebHCat Log Dir",
  839. "description": "Directory for WebHCat log files",
  840. "defaultValue": "/var/log/webhcat",
  841. "isReconfigurable": false,
  842. "displayType": "directory",
  843. "isOverridable": false,
  844. "isVisible": true,
  845. "serviceName": "WEBHCAT",
  846. "category": "Advanced"
  847. },
  848. {
  849. "id": "puppet var",
  850. "name": "hcat_pid_dir",
  851. "displayName": "WebHCat PID Dir",
  852. "description": "Directory in which the PID files for WebHCat processes will be created",
  853. "defaultValue": "/var/run/webhcat",
  854. "isReconfigurable": false,
  855. "displayType": "directory",
  856. "isOverridable": false,
  857. "isVisible": true,
  858. "serviceName": "WEBHCAT",
  859. "category": "Advanced"
  860. },
  861. /**********************************************OOZIE***************************************/
  862. {
  863. "id": "puppet var",
  864. "name": "oozieserver_host",
  865. "displayName": "Oozie Server host",
  866. "value": "",
  867. "defaultValue": "",
  868. "description": "The host that has been assigned to run Oozie Server",
  869. "displayType": "masterHost",
  870. "isOverridable": false,
  871. "isVisible": true,
  872. "isRequiredByAgent": false,
  873. "serviceName": "OOZIE",
  874. "category": "Oozie Server",
  875. "index": 0
  876. },
  877. // for existing Oracle
  878. {
  879. "id": "puppet var",
  880. "name": "oozie_existing_oracle_database",
  881. "displayName": "Database Type",
  882. "value": "",
  883. "defaultValue": "Oracle",
  884. "description": "Using an existing Oracle database for Oozie Metastore",
  885. "displayType": "masterHost",
  886. "isVisible": false,
  887. "isObserved": true,
  888. "isReconfigurable": false,
  889. "isOverridable": false,
  890. "serviceName": "OOZIE",
  891. "category": "Oozie Server",
  892. "index": 1
  893. },
  894. // for existing PostgreSQL
  895. {
  896. "id": "puppet var",
  897. "name": "oozie_existing_postgresql_database",
  898. "displayName": "Database Type",
  899. "value": "",
  900. "defaultValue": "PostgreSQL",
  901. "description": "Using an existing PostgreSQL database for Oozie Metastore",
  902. "displayType": "masterHost",
  903. "isOverridable": false,
  904. "isVisible": false,
  905. "isReconfigurable": false,
  906. "serviceName": "OOZIE",
  907. "category": "Oozie Server",
  908. "index": 1
  909. },
  910. // for new MySQL
  911. {
  912. "id": "puppet var",
  913. "name": "oozie_ambari_database",
  914. "displayName": "Database Type",
  915. "value": "",
  916. "defaultValue": "MySQL",
  917. "description": "MySQL will be installed by Ambari",
  918. "displayType": "masterHost",
  919. "isVisible": false,
  920. "isOverridable": false,
  921. "serviceName": "OOZIE",
  922. "category": "Oozie Server",
  923. "index": 1
  924. },
  925. // for current derby
  926. {
  927. "id": "puppet var",
  928. "name": "oozie_derby_database",
  929. "displayName": "Database Type",
  930. "value": "",
  931. "defaultValue": "Derby",
  932. "description": "Using current Derby database for Oozie Metastore",
  933. "displayType": "masterHost",
  934. "isVisible": false,
  935. "isReconfigurable": false,
  936. "isOverridable": false,
  937. "serviceName": "OOZIE",
  938. "category": "Oozie Server",
  939. "index": 1
  940. },
  941. // for existing MySQL oozie
  942. {
  943. "id": "puppet var",
  944. "name": "oozie_existing_mysql_database",
  945. "displayName": "Database Type",
  946. "value": "",
  947. "defaultValue": "MySQL",
  948. "description": "Using an existing MySQL database for Oozie Metastore",
  949. "displayType": "masterHost",
  950. "isVisible": false,
  951. "isReconfigurable": false,
  952. "isOverridable": false,
  953. "serviceName": "OOZIE",
  954. "category": "Oozie Server",
  955. "index": 1
  956. },
  957. {
  958. "id": "puppet var",
  959. "name": "oozie_database",
  960. "displayName": "Oozie Database",
  961. "value": "",
  962. "defaultValue": "New Derby Database",
  963. "options": [
  964. {
  965. displayName: 'New Derby Database',
  966. foreignKeys: ['oozie_derby_database']
  967. },
  968. /*{
  969. displayName: 'New MySQL Database',
  970. foreignKeys: ['oozie_ambari_database', 'oozie_ambari_host'],
  971. hidden: !App.supports.hiveOozieExtraDatabases
  972. },*/
  973. {
  974. displayName: 'Existing MySQL Database',
  975. foreignKeys: ['oozie_existing_mysql_database', 'oozie_existing_mysql_host'],
  976. hidden: !App.supports.hiveOozieExtraDatabases
  977. },
  978. {
  979. displayName: 'Existing PostgreSQL Database',
  980. foreignKeys: ['oozie_existing_postgresql_database', 'oozie_existing_postgresql_host'],
  981. hidden: !App.supports.hiveOozieExtraDatabases
  982. },
  983. {
  984. displayName: 'Existing Oracle Database',
  985. foreignKeys: ['oozie_existing_oracle_database', 'oozie_existing_oracle_host'],
  986. hidden: !App.supports.hiveOozieExtraDatabases
  987. }
  988. ],
  989. "description": "Current Derby Database will be installed by Ambari",
  990. "displayType": "radio button",
  991. "isReconfigurable": false,
  992. "isOverridable": false,
  993. "radioName": "oozie-database",
  994. "isVisible": true,
  995. "serviceName": "OOZIE",
  996. "category": "Oozie Server",
  997. "index": 2
  998. },
  999. {
  1000. "id": "puppet var",
  1001. "name": "oozie_data_dir",
  1002. "displayName": "Oozie Data Dir",
  1003. "description": "Data directory in which the Oozie DB exists",
  1004. "defaultValue": "",
  1005. "defaultDirectory": "/hadoop/oozie/data",
  1006. "isReconfigurable": true,
  1007. "displayType": "directory",
  1008. "isOverridable": false,
  1009. "isVisible": true,
  1010. "isRequired": false,
  1011. "serviceName": "OOZIE",
  1012. "category": "Oozie Server",
  1013. "index": 7
  1014. },
  1015. {
  1016. "id": "puppet var",
  1017. "name": "oozie_hostname",
  1018. "defaultValue": "",
  1019. "displayName": "Database Host",
  1020. "description": "The host where the Oozie database is located",
  1021. "isReconfigurable": true,
  1022. "isOverridable": false,
  1023. "displayType": "host",
  1024. "isVisible": false,
  1025. "serviceName": "OOZIE",
  1026. "category": "Oozie Server",
  1027. "index": 3
  1028. },
  1029. {
  1030. "id": "puppet var",
  1031. "name": "oozie_existing_mysql_host",
  1032. "displayName": "Database Host",
  1033. "description": "Specify the host on which the existing database is hosted",
  1034. "defaultValue": "",
  1035. "isReconfigurable": false,
  1036. "isOverridable": false,
  1037. "displayType": "host",
  1038. "isVisible": false,
  1039. "isObserved": true,
  1040. "serviceName": "OOZIE",
  1041. "category": "Oozie Server"
  1042. },
  1043. {
  1044. "id": "puppet var",
  1045. "name": "oozie_existing_postgresql_host",
  1046. "displayName": "Database Host",
  1047. "description": "Specify the host on which the existing database is hosted",
  1048. "defaultValue": "",
  1049. "isReconfigurable": false,
  1050. "isOverridable": false,
  1051. "displayType": "host",
  1052. "isVisible": false,
  1053. "isObserved": true,
  1054. "serviceName": "OOZIE",
  1055. "category": "Oozie Server"
  1056. },
  1057. {
  1058. "id": "puppet var",
  1059. "name": "oozie_existing_oracle_host",
  1060. "displayName": "Database Host",
  1061. "description": "Specify the host on which the existing database is hosted",
  1062. "defaultValue": "",
  1063. "isReconfigurable": false,
  1064. "isOverridable": false,
  1065. "displayType": "host",
  1066. "isVisible": false,
  1067. "isObserved": true,
  1068. "serviceName": "OOZIE",
  1069. "category": "Oozie Server"
  1070. },
  1071. {
  1072. "id": "puppet var",
  1073. "name": "oozie_ambari_host",
  1074. "value": "",
  1075. "defaultValue": "",
  1076. "displayName": "Database Host",
  1077. "description": "Host on which the database will be created by Ambari",
  1078. "isReconfigurable": false,
  1079. "isOverridable": false,
  1080. "displayType": "masterHost",
  1081. "isVisible": false,
  1082. "isRequiredByAgent": false,
  1083. "serviceName": "OOZIE",
  1084. "category": "Oozie Server"
  1085. },
  1086. {
  1087. "id": "puppet var",
  1088. "name": "oozie_log_dir",
  1089. "displayName": "Oozie Log Dir",
  1090. "description": "Directory for oozie logs",
  1091. "defaultValue": "/var/log/oozie",
  1092. "isReconfigurable": false,
  1093. "displayType": "directory",
  1094. "isOverridable": false,
  1095. "isVisible": true,
  1096. "serviceName": "OOZIE",
  1097. "category": "Advanced"
  1098. },
  1099. {
  1100. "id": "puppet var",
  1101. "name": "oozie_pid_dir",
  1102. "displayName": "Oozie PID Dir",
  1103. "description": "Directory in which the pid files for oozie processes will be created",
  1104. "defaultValue": "/var/run/oozie",
  1105. "isReconfigurable": false,
  1106. "displayType": "directory",
  1107. "isOverridable": false,
  1108. "isVisible": true,
  1109. "serviceName": "OOZIE",
  1110. "category": "Advanced"
  1111. },
  1112. /**********************************************NAGIOS***************************************/
  1113. {
  1114. "id": "puppet var",
  1115. "name": "nagios_web_login",
  1116. "displayName": "Nagios Admin username",
  1117. "description": "Nagios Web UI Admin username",
  1118. "defaultValue": "nagiosadmin",
  1119. "isReconfigurable": false,
  1120. "displayType": "user",
  1121. "isOverridable": false,
  1122. "isVisible": true,
  1123. "serviceName": "NAGIOS",
  1124. "index": 0
  1125. },
  1126. {
  1127. "id": "puppet var",
  1128. "name": "nagios_web_password",
  1129. "displayName": "Nagios Admin password",
  1130. "description": "Nagios Web UI Admin password",
  1131. "defaultValue": "",
  1132. "isReconfigurable": true,
  1133. "displayType": "password",
  1134. "isOverridable": false,
  1135. "isVisible": true,
  1136. "serviceName": "NAGIOS",
  1137. "index": 1
  1138. },
  1139. {
  1140. "id": "puppet var",
  1141. "name": "nagios_contact",
  1142. "displayName": "Hadoop Admin email",
  1143. "description": "Hadoop Administrator email for alert notification",
  1144. "defaultValue": "",
  1145. "displayType": "email",
  1146. "isOverridable": false,
  1147. "isVisible": true,
  1148. "serviceName": "NAGIOS",
  1149. "index": 2
  1150. },
  1151. /**********************************************ZOOKEEPER***************************************/
  1152. {
  1153. "id": "puppet var",
  1154. "name": "zookeeperserver_hosts",
  1155. "displayName": "ZooKeeper Server hosts",
  1156. "value": "",
  1157. "defaultValue": "",
  1158. "description": "The host that has been assigned to run ZooKeeper Server",
  1159. "displayType": "masterHosts",
  1160. "isVisible": true,
  1161. "isRequiredByAgent": false,
  1162. "isOverridable": false,
  1163. "isRequired": false,
  1164. "serviceName": "ZOOKEEPER",
  1165. "category": "ZooKeeper Server",
  1166. "index": 0
  1167. },
  1168. {
  1169. "id": "puppet var",
  1170. "name": "zk_data_dir",
  1171. "displayName": "ZooKeeper directory",
  1172. "description": "Data directory for ZooKeeper",
  1173. "defaultValue": "",
  1174. "defaultDirectory": "/hadoop/zookeeper",
  1175. "isReconfigurable": true,
  1176. "displayType": "directory",
  1177. "isVisible": true,
  1178. "serviceName": "ZOOKEEPER",
  1179. "category": "ZooKeeper Server",
  1180. "index": 1
  1181. },
  1182. {
  1183. "id": "puppet var",
  1184. "name": "tickTime",
  1185. "displayName": "Length of single Tick",
  1186. "description": "The length of a single tick in milliseconds, which is the basic time unit used by ZooKeeper",
  1187. "defaultValue": "2000",
  1188. "displayType": "int",
  1189. "unit": "ms",
  1190. "isOverridable": false,
  1191. "isVisible": true,
  1192. "serviceName": "ZOOKEEPER",
  1193. "category": "ZooKeeper Server",
  1194. "index": 2
  1195. },
  1196. {
  1197. "id": "puppet var",
  1198. "name": "initLimit",
  1199. "displayName": "Ticks to allow for sync at Init",
  1200. "description": "Amount of time, in ticks to allow followers to connect and sync to a leader",
  1201. "defaultValue": "10",
  1202. "displayType": "int",
  1203. "isOverridable": false,
  1204. "isVisible": true,
  1205. "serviceName": "ZOOKEEPER",
  1206. "category": "ZooKeeper Server",
  1207. "index": 3
  1208. },
  1209. {
  1210. "id": "puppet var",
  1211. "name": "syncLimit",
  1212. "displayName": "Ticks to allow for sync at Runtime",
  1213. "description": "Amount of time, in ticks to allow followers to connect",
  1214. "defaultValue": "5",
  1215. "displayType": "int",
  1216. "isOverridable": false,
  1217. "isVisible": true,
  1218. "serviceName": "ZOOKEEPER",
  1219. "category": "ZooKeeper Server",
  1220. "index": 4
  1221. },
  1222. {
  1223. "id": "puppet var",
  1224. "name": "clientPort",
  1225. "displayName": "Port for running ZK Server",
  1226. "description": "Port for running ZooKeeper server",
  1227. "defaultValue": "2181",
  1228. "displayType": "int",
  1229. "isOverridable": false,
  1230. "isVisible": true,
  1231. "serviceName": "ZOOKEEPER",
  1232. "category": "ZooKeeper Server",
  1233. "index": 5
  1234. },
  1235. {
  1236. "id": "puppet var",
  1237. "name": "zk_log_dir",
  1238. "displayName": "ZooKeeper Log Dir",
  1239. "description": "Directory for ZooKeeper log files",
  1240. "defaultValue": "/var/log/zookeeper",
  1241. "isReconfigurable": false,
  1242. "displayType": "directory",
  1243. "isOverridable": false,
  1244. "isVisible": true,
  1245. "serviceName": "ZOOKEEPER",
  1246. "category": "Advanced",
  1247. "index": 0
  1248. },
  1249. {
  1250. "id": "puppet var",
  1251. "name": "zk_pid_dir",
  1252. "displayName": "ZooKeeper PID Dir",
  1253. "description": "Directory in which the pid files for zookeeper processes will be created",
  1254. "defaultValue": "/var/run/zookeeper",
  1255. "isReconfigurable": false,
  1256. "displayType": "directory",
  1257. "isOverridable": false,
  1258. "isVisible": true,
  1259. "serviceName": "ZOOKEEPER",
  1260. "category": "Advanced",
  1261. "index": 1
  1262. },
  1263. /**********************************************HUE***************************************/
  1264. {
  1265. "id": "puppet var",
  1266. "name": "hueserver_host",
  1267. "displayName": "Hue Server host",
  1268. "value": "",
  1269. "defaultValue": "",
  1270. "description": "The host that has been assigned to run Hue Server",
  1271. "displayType": "masterHost",
  1272. "isOverridable": false,
  1273. "isRequiredByAgent": false,
  1274. "isVisible": true,
  1275. "serviceName": "HUE",
  1276. "category": "Hue Server"
  1277. },
  1278. {
  1279. "id": "puppet var",
  1280. "name": "hue_log_dir",
  1281. "displayName": "HUE Log Dir",
  1282. "description": "Directory for HUE logs",
  1283. "defaultValue": "/var/log/hue",
  1284. "isReconfigurable": false,
  1285. "displayType": "directory",
  1286. "isOverridable": false,
  1287. "isRequiredByAgent": false,
  1288. "isVisible": true,
  1289. "serviceName": "HUE",
  1290. "category": "Advanced"
  1291. },
  1292. {
  1293. "id": "puppet var",
  1294. "name": "hue_pid_dir",
  1295. "displayName": "HUE Pid Dir",
  1296. "description": "Directory in which the pid files for HUE processes will be created",
  1297. "defaultValue": "/var/run/hue",
  1298. "isReconfigurable": false,
  1299. "displayType": "directory",
  1300. "isOverridable": false,
  1301. "isRequiredByAgent": false,
  1302. "isVisible": true,
  1303. "serviceName": "HUE",
  1304. "category": "Advanced"
  1305. },
  1306. /**********************************************GANGLIA***************************************/
  1307. {
  1308. "id": "puppet var",
  1309. "name": "ganglia_conf_dir",
  1310. "displayName": "Ganglia conf directory",
  1311. "description": "",
  1312. "defaultValue": "/etc/ganglia/hdp",
  1313. "isReconfigurable": false,
  1314. "displayType": "directory",
  1315. "isVisible": false,
  1316. "isRequiredByAgent": false,
  1317. "serviceName": "GANGLIA",
  1318. "category": "Advanced"
  1319. },
  1320. /**********************************************FALCON***************************************/
  1321. {
  1322. "id": "puppet var",
  1323. "name": "falconserver_host",
  1324. "displayName": "Falcon Server",
  1325. "description": "The host that has been assigned to run Falcon Server",
  1326. "defaultValue": "falcon",
  1327. "displayType": "masterHost",
  1328. "isVisible": true,
  1329. "isRequiredByAgent": false,
  1330. "serviceName": "FALCON",
  1331. "category": "Falcon"
  1332. },
  1333. {
  1334. "id": "puppet var",
  1335. "name": "falcon_port",
  1336. "displayName": "Falcon server port",
  1337. "description": "Port the Falcon Server listens on",
  1338. "defaultValue": "15000",
  1339. "isReconfigurable": true,
  1340. "displayType": "int",
  1341. "isVisible": true,
  1342. "isRequiredByAgent": true,
  1343. "serviceName": "FALCON",
  1344. "category": "Falcon"
  1345. },
  1346. {
  1347. "id": "puppet var",
  1348. "name": "falcon_local_dir",
  1349. "displayName": "Falcon data directory",
  1350. "description": "Directory where Falcon data, such as activemq data, is stored",
  1351. "defaultValue": "/hadoop/falcon",
  1352. "isReconfigurable": true,
  1353. "displayType": "directory",
  1354. "isVisible": true,
  1355. "isRequiredByAgent": true,
  1356. "serviceName": "FALCON",
  1357. "category": "Falcon"
  1358. },
  1359. {
  1360. "id": "puppet var",
  1361. "name": "falcon_store_uri",
  1362. "displayName": "Falcon store URI",
  1363. "description": "Directory where entity definitions are stored",
  1364. "defaultValue": "file:///hadoop/falcon/store",
  1365. "isReconfigurable": true,
  1366. "displayType": "string",
  1367. "isVisible": true,
  1368. "isRequiredByAgent": true,
  1369. "serviceName": "FALCON",
  1370. "category": "Falcon"
  1371. },
  1372. {
  1373. "id": "puppet var",
  1374. "name": "falcon_log_dir",
  1375. "displayName": "Falcon Log Dir",
  1376. "description": "Directory for Falcon logs",
  1377. "defaultValue": "/var/log/falcon",
  1378. "displayType": "directory",
  1379. "isOverridable": false,
  1380. "isVisible": true,
  1381. "isRequiredByAgent": true,
  1382. "isReconfigurable": false,
  1383. "serviceName": "FALCON",
  1384. "category": "Advanced"
  1385. },
  1386. {
  1387. "id": "puppet var",
  1388. "name": "falcon_pid_dir",
  1389. "displayName": "Falcon PID Dir",
  1390. "description": "Directory in which the pid files for Falcon processes will be created",
  1391. "defaultValue": "/var/run/falcon",
  1392. "displayType": "directory",
  1393. "isOverridable": false,
  1394. "isVisible": true,
  1395. "isRequiredByAgent": true,
  1396. "isReconfigurable": false,
  1397. "serviceName": "FALCON",
  1398. "category": "Advanced"
  1399. },
  1400. {
  1401. "id": "puppet var",
  1402. "name": "falcon.embeddedmq",
  1403. "displayName": "falcon.embeddedmq",
  1404. "description": "Whether embeddedmq is enabled or not.",
  1405. "defaultValue": "true",
  1406. "displayType": "string",
  1407. "isOverridable": false,
  1408. "isVisible": true,
  1409. "isRequiredByAgent": true,
  1410. "isReconfigurable": true,
  1411. "serviceName": "FALCON",
  1412. "category": "Advanced"
  1413. },
  1414. {
  1415. "id": "puppet var",
  1416. "name": "falcon.embeddedmq.data",
  1417. "displayName": "falcon.embeddedmq.data",
  1418. "description": "Directory in which embeddedmq data is stored.",
  1419. "defaultValue": "/hadoop/falcon/embeddedmq/data",
  1420. "displayType": "directory",
  1421. "isOverridable": false,
  1422. "isVisible": true,
  1423. "isRequiredByAgent": true,
  1424. "isReconfigurable": true,
  1425. "serviceName": "FALCON",
  1426. "category": "Advanced"
  1427. },
  1428. {
  1429. "id": "puppet var",
  1430. "name": "falcon.emeddedmq.port",
  1431. "displayName": "falcon.emeddedmq.port",
  1432. "description": "Port that embeddedmq will listen on.",
  1433. "defaultValue": "61616",
  1434. "displayType": "string",
  1435. "isOverridable": false,
  1436. "isVisible": true,
  1437. "isRequiredByAgent": true,
  1438. "isReconfigurable": true,
  1439. "serviceName": "FALCON",
  1440. "category": "Advanced"
  1441. },
  1442. /**********************************************STORM***************************************/
  1443. {
  1444. "id": "puppet var",
  1445. "name": "storm_log_dir",
  1446. "displayName": "storm_log_dir",
  1447. "description": "Storm log directory",
  1448. "defaultValue": "/var/log/storm",
  1449. "displayType": "directory",
  1450. "isReconfigurable": true,
  1451. "isVisible": true,
  1452. "isRequiredByAgent": true,
  1453. "serviceName": "STORM",
  1454. "category": "General"
  1455. },
  1456. {
  1457. "id": "puppet var",
  1458. "name": "storm_pid_dir",
  1459. "displayName": "storm_pid_dir",
  1460. "description": "Storm PID directory",
  1461. "defaultValue": "/var/run/storm",
  1462. "displayType": "directory",
  1463. "isReconfigurable": true,
  1464. "isVisible": true,
  1465. "isRequiredByAgent": true,
  1466. "serviceName": "STORM",
  1467. "category": "General"
  1468. },
  1469. {
  1470. "id": "puppet var",
  1471. "name": "stormuiserver_host",
  1472. "displayName": "Storm UI Server host",
  1473. "description": "The host that has been assigned to run Storm UI Server",
  1474. "defaultValue": "",
  1475. "displayType": "masterHost",
  1476. "isReconfigurable": false,
  1477. "isVisible": true,
  1478. "isRequiredByAgent": false,
  1479. "serviceName": "STORM",
  1480. "category": "StormUIServer",
  1481. "filename": "global.xml"
  1482. },
  1483. {
  1484. "id": "puppet var",
  1485. "name": "drpcserver_host",
  1486. "displayName": "DRPC Server host",
  1487. "description": "The host that has been assigned to run DRPC Server",
  1488. "defaultValue": "",
  1489. "displayType": "masterHost",
  1490. "isReconfigurable": false,
  1491. "isVisible": true,
  1492. "isRequiredByAgent": false,
  1493. "serviceName": "STORM",
  1494. "category": "DRPCServer",
  1495. "filename": "global.xml"
  1496. },
  1497. {
  1498. "id": "puppet var",
  1499. "name": "supervisor_hosts",
  1500. "displayName": "Supervisor hosts",
  1501. "description": "The host that has been assigned to run Supervisor",
  1502. "defaultValue": "",
  1503. "displayType": "slaveHosts",
  1504. "isReconfigurable": false,
  1505. "isVisible": true,
  1506. "isRequiredByAgent": false,
  1507. "serviceName": "STORM",
  1508. "isOverridable": false,
  1509. "category": "Supervisor",
  1510. "filename": "global.xml"
  1511. },
  1512. {
  1513. "id": "puppet var",
  1514. "name": "storm_rest_api_host",
  1515. "displayName": "Storm REST API host",
  1516. "description": "The host that has been assigned to run Storm REST API Server",
  1517. "defaultValue": "",
  1518. "displayType": "masterHost",
  1519. "isReconfigurable": false,
  1520. "isVisible": true,
  1521. "isRequiredByAgent": false,
  1522. "serviceName": "STORM",
  1523. "isOverridable": false,
  1524. "category": "StormRestApi",
  1525. "filename": "global.xml"
  1526. },
  1527. /**********************************************MISC***************************************/
  1528. {
  1529. "id": "puppet var",
  1530. "name": "hbase_conf_dir",
  1531. "displayName": "HBase conf dir",
  1532. "description": "",
  1533. "defaultValue": "/etc/hbase",
  1534. "isRequired": false,
  1535. "displayType": "directory",
  1536. "isVisible": false,
  1537. "isRequiredByAgent": false,
  1538. "serviceName": "MISC",
  1539. "category": "General",
  1540. "belongsToService": []
  1541. },
  1542. {
  1543. "id": "puppet var",
  1544. "name": "proxyuser_group",
  1545. "displayName": "Proxy group for Hive, WebHCat, Oozie and Falcon",
  1546. "description": "",
  1547. "defaultValue": "users",
  1548. "isReconfigurable": false,
  1549. "displayType": "user",
  1550. "isOverridable": false,
  1551. "isVisible": true,
  1552. "filename": "core-site.xml",
  1553. "serviceName": "MISC",
  1554. "category": "Users and Groups",
  1555. "belongsToService": ["HIVE", "WEBHCAT", "OOZIE", "FALCON"],
  1556. "index": 18
  1557. },
  1558. {
  1559. "id": "puppet var",
  1560. "name": "ganglia_runtime_dir",
  1561. "displayName": "Ganglia runtime directory",
  1562. "description": "",
  1563. "defaultValue": "/var/run/ganglia/hdp",
  1564. "isReconfigurable": false,
  1565. "displayType": "directory",
  1566. "isVisible": false,
  1567. "serviceName": "MISC",
  1568. "category": "General",
  1569. "belongsToService": []
  1570. },
  1571. {
  1572. "id": "puppet var",
  1573. "name": "hdfs_user",
  1574. "displayName": "HDFS User",
  1575. "description": "User to run HDFS as",
  1576. "defaultValue": "hdfs",
  1577. "isReconfigurable": false,
  1578. "displayType": "user",
  1579. "isOverridable": false,
  1580. "isVisible": true,
  1581. "serviceName": "MISC",
  1582. "category": "Users and Groups",
  1583. "belongsToService": ["HDFS"],
  1584. "index": 1
  1585. },
  1586. {
  1587. "id": "puppet var",
  1588. "name": "mapred_user",
  1589. "displayName": "MapReduce User",
  1590. "description": "User to run MapReduce as",
  1591. "defaultValue": "mapred",
  1592. "isReconfigurable": false,
  1593. "displayType": "user",
  1594. "isOverridable": false,
  1595. "isVisible": true,
  1596. "serviceName": "MISC",
  1597. "category": "Users and Groups",
  1598. "belongsToService": ["MAPREDUCE2"],
  1599. "index": 2
  1600. },
  1601. {
  1602. "id": "puppet var",
  1603. "name": "yarn_user",
  1604. "displayName": "YARN User",
  1605. "description": "User to run YARN as",
  1606. "defaultValue": "yarn",
  1607. "isReconfigurable": false,
  1608. "displayType": "user",
  1609. "isOverridable": false,
  1610. "isVisible": true,
  1611. "serviceName": "MISC",
  1612. "category": "Users and Groups",
  1613. "belongsToService": ["YARN"],
  1614. "index": 3
  1615. },
  1616. {
  1617. "id": "puppet var",
  1618. "name": "hbase_user",
  1619. "displayName": "HBase User",
  1620. "description": "User to run HBase as",
  1621. "defaultValue": "hbase",
  1622. "isReconfigurable": false,
  1623. "displayType": "user",
  1624. "isOverridable": false,
  1625. "isVisible": true,
  1626. "serviceName": "MISC",
  1627. "category": "Users and Groups",
  1628. "belongsToService": ["HBASE"],
  1629. "index": 4
  1630. },
  1631. {
  1632. "id": "puppet var",
  1633. "name": "hive_user",
  1634. "displayName": "Hive User",
  1635. "description": "User to run Hive as",
  1636. "defaultValue": "hive",
  1637. "isReconfigurable": false,
  1638. "displayType": "user",
  1639. "isOverridable": false,
  1640. "isVisible": true,
  1641. "serviceName": "MISC",
  1642. "category": "Users and Groups",
  1643. "belongsToService": ["HIVE"],
  1644. "index": 5
  1645. },
  1646. {
  1647. "id": "puppet var",
  1648. "name": "hcat_user",
  1649. "displayName": "HCat User",
  1650. "description": "User to run HCatalog as",
  1651. "defaultValue": "hcat",
  1652. "isReconfigurable": false,
  1653. "displayType": "user",
  1654. "isOverridable": false,
  1655. "isVisible": true,
  1656. "serviceName": "MISC",
  1657. "category": "Users and Groups",
  1658. "belongsToService": ["HCATALOG"],
  1659. "index": 6
  1660. },
  1661. {
  1662. "id": "puppet var",
  1663. "name": "webhcat_user",
  1664. "displayName": "WebHCat User",
  1665. "description": "User to run WebHCat as",
  1666. "defaultValue": "hcat",
  1667. "isReconfigurable": false,
  1668. "displayType": "user",
  1669. "isOverridable": false,
  1670. "isVisible": true,
  1671. "serviceName": "MISC",
  1672. "category": "Users and Groups",
  1673. "belongsToService": ["WEBHCAT"],
  1674. "index": 7
  1675. },
  1676. {
  1677. "id": "puppet var",
  1678. "name": "oozie_user",
  1679. "displayName": "Oozie User",
  1680. "description": "User to run Oozie as",
  1681. "defaultValue": "oozie",
  1682. "isReconfigurable": false,
  1683. "displayType": "user",
  1684. "isOverridable": false,
  1685. "isVisible": true,
  1686. "serviceName": "MISC",
  1687. "category": "Users and Groups",
  1688. "belongsToService": ["OOZIE"],
  1689. "index": 8
  1690. },
  1691. {
  1692. "id": "puppet var",
  1693. "name": "falcon_user",
  1694. "displayName": "Falcon User",
  1695. "description": "User to run Falcon as",
  1696. "defaultValue": "falcon",
  1697. "isReconfigurable": false,
  1698. "displayType": "user",
  1699. "isOverridable": false,
  1700. "isVisible": true,
  1701. "serviceName": "MISC",
  1702. "category": "Users and Groups",
  1703. "belongsToService": ["FALCON"],
  1704. "index": 10
  1705. },
  1706. {
  1707. "id": "puppet var",
  1708. "name": "storm_user",
  1709. "displayName": "Storm User",
  1710. "description": "User to run Storm as",
  1711. "defaultValue": "storm",
  1712. "isReconfigurable": false,
  1713. "displayType": "user",
  1714. "isOverridable": false,
  1715. "isVisible": true,
  1716. "serviceName": "MISC",
  1717. "category": "Users and Groups",
  1718. "belongsToService": ["STORM"],
  1719. "index": 9
  1720. },
  1721. {
  1722. "id": "puppet var",
  1723. "name": "zk_user",
  1724. "displayName": "ZooKeeper User",
  1725. "description": "User to run ZooKeeper as",
  1726. "defaultValue": "zookeeper",
  1727. "isReconfigurable": false,
  1728. "displayType": "user",
  1729. "isOverridable": false,
  1730. "isVisible": true,
  1731. "serviceName": "MISC",
  1732. "category": "Users and Groups",
  1733. "belongsToService": ["ZOOKEEPER"],
  1734. "index": 11
  1735. },
  1736. {
  1737. "id": "puppet var",
  1738. "name": "gmetad_user",
  1739. "displayName": "Ganglia User",
  1740. "description": "The user used to run Ganglia",
  1741. "defaultValue": "nobody",
  1742. "isReconfigurable": false,
  1743. "displayType": "user",
  1744. "isOverridable": false,
  1745. "isVisible": true,
  1746. "serviceName": "MISC",
  1747. "category": "Users and Groups",
  1748. "belongsToService": ["GANGLIA"],
  1749. "index": 12
  1750. },
  1751. {
  1752. "id": "puppet var",
  1753. "name": "gmond_user",
  1754. "displayName": "Gmond User",
  1755. "description": "The user used to run gmond for Ganglia",
  1756. "defaultValue": "nobody",
  1757. "isReconfigurable": false,
  1758. "displayType": "advanced",
  1759. "isOverridable": false,
  1760. "isVisible": false,
  1761. "serviceName": "MISC",
  1762. "category": "Users and Groups",
  1763. "belongsToService": []
  1764. },
  1765. {
  1766. "id": "puppet var",
  1767. "name": "nagios_user",
  1768. "displayName": "Nagios User",
  1769. "description": "User to run Nagios as",
  1770. "defaultValue": "nagios",
  1771. "isReconfigurable": false,
  1772. "displayType": "user",
  1773. "isOverridable": false,
  1774. "isVisible": true,
  1775. "serviceName": "MISC",
  1776. "category": "Users and Groups",
  1777. "belongsToService": ["NAGIOS"],
  1778. "index": 14
  1779. },
  1780. {
  1781. "id": "puppet var",
  1782. "name": "nagios_group",
  1783. "displayName": "Nagios Group",
  1784. "description": "Nagios Group",
  1785. "defaultValue": "nagios",
  1786. "isReconfigurable": false,
  1787. "displayType": "user",
  1788. "isOverridable": false,
  1789. "isVisible": true,
  1790. "serviceName": "MISC",
  1791. "category": "Users and Groups",
  1792. "belongsToService": ["NAGIOS"],
  1793. "index": 13
  1794. },
  1795. {
  1796. "id": "puppet var",
  1797. "name": "smokeuser",
  1798. "displayName": "Smoke Test User",
  1799. "description": "The user used to run service smoke tests",
  1800. "defaultValue": "ambari-qa",
  1801. "isReconfigurable": false,
  1802. "displayType": "user",
  1803. "isOverridable": false,
  1804. "isVisible": App.supports.customizeSmokeTestUser,
  1805. "serviceName": "MISC",
  1806. "category": "Users and Groups",
  1807. "belongsToService": ["HDFS"],
  1808. "index": 16
  1809. },
  1810. {
  1811. "id": "puppet var",
  1812. "name": "tez_user",
  1813. "displayName": "Tez User",
  1814. "description": "User to run Tez as",
  1815. "defaultValue": "tez",
  1816. "isReconfigurable": false,
  1817. "displayType": "user",
  1818. "isOverridable": false,
  1819. "isVisible": true,
  1820. "serviceName": "MISC",
  1821. "category": "Users and Groups",
  1822. "belongsToService": ["TEZ"],
  1823. "index": 15
  1824. },
  1825. {
  1826. "id": "puppet var",
  1827. "name": "user_group",
  1828. "displayName": "Hadoop Group",
  1829. "description": "Group that the users specified above belong to",
  1830. "defaultValue": "hadoop",
  1831. "isReconfigurable": false,
  1832. "displayType": "user",
  1833. "isOverridable": false,
  1834. "isVisible": true,
  1835. "serviceName": "MISC",
  1836. "category": "Users and Groups",
  1837. "belongsToService": ["HDFS"],
  1838. "index": 16
  1839. },
  1840. {
  1841. "id": "puppet var",
  1842. "name": "rrdcached_base_dir",
  1843. "displayName": "Ganglia rrdcached base directory",
  1844. "description": "Default directory for saving the rrd files on ganglia server",
  1845. "defaultValue": "/var/lib/ganglia/rrds",
  1846. "displayType": "directory",
  1847. "isReconfigurable": true,
  1848. "isOverridable": false,
  1849. "isVisible": true,
  1850. "serviceName": "GANGLIA",
  1851. "category": "General",
  1852. "belongsToService": ["GANGLIA"]
  1853. }
  1854. ]
  1855. };