global_properties.js 56 KB

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