ams-site.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. /**
  5. *
  6. * Licensed to the Apache Software Foundation (ASF) under one
  7. * or more contributor license agreements. See the NOTICE file
  8. * distributed with this work for additional information
  9. * regarding copyright ownership. The ASF licenses this file
  10. * to you under the Apache License, Version 2.0 (the
  11. * "License"); you may not use this file except in compliance
  12. * with the License. You may obtain a copy of the License at
  13. *
  14. * http://www.apache.org/licenses/LICENSE-2.0
  15. *
  16. * Unless required by applicable law or agreed to in writing, software
  17. * distributed under the License is distributed on an "AS IS" BASIS,
  18. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. * See the License for the specific language governing permissions and
  20. * limitations under the License.
  21. */
  22. -->
  23. <configuration>
  24. <property>
  25. <name>timeline.metrics.service.operation.mode</name>
  26. <value>embedded</value>
  27. <display-name>Metrics Service operation mode</display-name>
  28. <description>
  29. Service Operation modes:
  30. 1) embedded: Metrics stored on local FS, HBase in Standalone mode
  31. 2) distributed: HBase daemons writing to HDFS
  32. </description>
  33. <on-ambari-upgrade add="true"/>
  34. </property>
  35. <property>
  36. <name>timeline.metrics.service.webapp.address</name>
  37. <value>0.0.0.0:6188</value>
  38. <description>
  39. The address of the metrics service web application.
  40. </description>
  41. <on-ambari-upgrade add="true"/>
  42. </property>
  43. <property>
  44. <name>timeline.metrics.service.rpc.address</name>
  45. <value>0.0.0.0:60200</value>
  46. <description>
  47. The address of the metrics service rpc listeners.
  48. </description>
  49. <on-ambari-upgrade add="true"/>
  50. </property>
  51. <property>
  52. <name>timeline.metrics.aggregator.checkpoint.dir</name>
  53. <value>/var/lib/ambari-metrics-collector/checkpoint</value>
  54. <display-name>Aggregator checkpoint directory</display-name>
  55. <description>
  56. Directory to store aggregator checkpoints. Change to a permanent
  57. location so that checkpoint ar not lost.
  58. </description>
  59. <value-attributes>
  60. <type>directory</type>
  61. </value-attributes>
  62. <on-ambari-upgrade add="true"/>
  63. </property>
  64. <property>
  65. <name>timeline.metrics.host.aggregator.minute.interval</name>
  66. <value>300</value>
  67. <display-name>Minute host aggregator interval</display-name>
  68. <description>
  69. Time in seconds to sleep for the minute resolution host based
  70. aggregator. Default resolution is 5 minutes.
  71. </description>
  72. <value-attributes>
  73. <type>int</type>
  74. </value-attributes>
  75. <on-ambari-upgrade add="true"/>
  76. </property>
  77. <property>
  78. <name>timeline.metrics.host.aggregator.hourly.interval</name>
  79. <value>3600</value>
  80. <display-name>Hourly host aggregator interval</display-name>
  81. <description>
  82. Time in seconds to sleep for the hourly resolution host based
  83. aggregator. Default resolution is 1 hour.
  84. </description>
  85. <value-attributes>
  86. <type>int</type>
  87. </value-attributes>
  88. <on-ambari-upgrade add="true"/>
  89. </property>
  90. <property>
  91. <name>timeline.metrics.daily.aggregator.minute.interval</name>
  92. <value>86400</value>
  93. <description>
  94. Time in seconds to sleep for the day resolution host based
  95. aggregator. Default resolution is 24 hours.
  96. </description>
  97. <on-ambari-upgrade add="true"/>
  98. </property>
  99. <property>
  100. <name>timeline.metrics.cluster.aggregator.hourly.interval</name>
  101. <value>3600</value>
  102. <display-name>Hourly cluster aggregator Interval</display-name>
  103. <description>
  104. Time in seconds to sleep for the hourly resolution cluster wide
  105. aggregator. Default is 1 hour.
  106. </description>
  107. <value-attributes>
  108. <type>int</type>
  109. </value-attributes>
  110. <on-ambari-upgrade add="true"/>
  111. </property>
  112. <property>
  113. <name>timeline.metrics.cluster.aggregator.daily.interval</name>
  114. <value>86400</value>
  115. <description>
  116. Time in seconds to sleep for the day resolution cluster wide
  117. aggregator. Default is 24 hours.
  118. </description>
  119. <on-ambari-upgrade add="true"/>
  120. </property>
  121. <property>
  122. <name>timeline.metrics.cluster.aggregator.minute.interval</name>
  123. <value>300</value>
  124. <display-name>Minute cluster aggregator interval</display-name>
  125. <description>
  126. Time in seconds to sleep for the minute resolution cluster wide
  127. aggregator. Default resolution is 5 minutes.
  128. </description>
  129. <value-attributes>
  130. <type>int</type>
  131. </value-attributes>
  132. <on-ambari-upgrade add="true"/>
  133. </property>
  134. <property>
  135. <name>timeline.metrics.cluster.aggregator.second.interval</name>
  136. <value>120</value>
  137. <display-name>Second cluster aggregator interval</display-name>
  138. <description>
  139. Time in seconds to sleep for the second resolution cluster wide
  140. aggregator. Default resolution is 2 minutes.
  141. </description>
  142. <value-attributes>
  143. <type>int</type>
  144. </value-attributes>
  145. <on-ambari-upgrade add="true"/>
  146. </property>
  147. <property>
  148. <name>timeline.metrics.host.aggregator.daily.checkpointCutOffMultiplier</name>
  149. <value>2</value>
  150. <description>
  151. Multiplier value * interval = Max allowed checkpoint lag. Effectively
  152. if aggregator checkpoint is greater than max allowed checkpoint delay,
  153. the checkpoint will be discarded by the aggregator.
  154. </description>
  155. <on-ambari-upgrade add="true"/>
  156. </property>
  157. <property>
  158. <name>timeline.metrics.host.aggregator.hourly.checkpointCutOffMultiplier</name>
  159. <value>2</value>
  160. <display-name>Hourly host aggregator checkpoint cutOff multiplier</display-name>
  161. <description>
  162. Multiplier value * interval = Max allowed checkpoint lag. Effectively
  163. if aggregator checkpoint is greater than max allowed checkpoint delay,
  164. the checkpoint will be discarded by the aggregator.
  165. </description>
  166. <value-attributes>
  167. <type>int</type>
  168. </value-attributes>
  169. <on-ambari-upgrade add="true"/>
  170. </property>
  171. <property>
  172. <name>timeline.metrics.host.aggregator.minute.checkpointCutOffMultiplier</name>
  173. <value>2</value>
  174. <display-name>Minute host aggregator checkpoint cutOff multiplier</display-name>
  175. <description>
  176. Multiplier value * interval = Max allowed checkpoint lag. Effectively
  177. if aggregator checkpoint is greater than max allowed checkpoint delay,
  178. the checkpoint will be discarded by the aggregator.
  179. </description>
  180. <value-attributes>
  181. <type>int</type>
  182. </value-attributes>
  183. <on-ambari-upgrade add="true"/>
  184. </property>
  185. <property>
  186. <name>timeline.metrics.cluster.aggregator.hourly.checkpointCutOffMultiplier</name>
  187. <value>2</value>
  188. <display-name>Hourly cluster aggregator checkpoint cutOff multiplier</display-name>
  189. <description>
  190. Multiplier value * interval = Max allowed checkpoint lag. Effectively
  191. if aggregator checkpoint is greater than max allowed checkpoint delay,
  192. the checkpoint will be discarded by the aggregator.
  193. </description>
  194. <value-attributes>
  195. <type>int</type>
  196. </value-attributes>
  197. <on-ambari-upgrade add="true"/>
  198. </property>
  199. <property>
  200. <name>timeline.metrics.cluster.aggregator.second.checkpointCutOffMultiplier</name>
  201. <value>2</value>
  202. <display-name>Second cluster aggregator checkpoint cutOff multiplier</display-name>
  203. <description>
  204. Multiplier value * interval = Max allowed checkpoint lag. Effectively
  205. if aggregator checkpoint is greater than max allowed checkpoint delay,
  206. the checkpoint will be discarded by the aggregator.
  207. </description>
  208. <value-attributes>
  209. <type>int</type>
  210. </value-attributes>
  211. <on-ambari-upgrade add="true"/>
  212. </property>
  213. <property>
  214. <name>timeline.metrics.cluster.aggregator.minute.checkpointCutOffMultiplier</name>
  215. <value>2</value>
  216. <display-name>Minute cluster aggregator checkpoint cutOff multiplier</display-name>
  217. <description>
  218. Multiplier value * interval = Max allowed checkpoint lag. Effectively
  219. if aggregator checkpoint is greater than max allowed checkpoint delay,
  220. the checkpoint will be discarded by the aggregator.
  221. </description>
  222. <value-attributes>
  223. <type>int</type>
  224. </value-attributes>
  225. <on-ambari-upgrade add="true"/>
  226. </property>
  227. <property>
  228. <name>timeline.metrics.cluster.aggregator.daily.checkpointCutOffMultiplier</name>
  229. <value>2</value>
  230. <description>
  231. Multiplier value * interval = Max allowed checkpoint lag. Effectively
  232. if aggregator checkpoint is greater than max allowed checkpoint delay,
  233. the checkpoint will be discarded by the aggregator.
  234. </description>
  235. <on-ambari-upgrade add="true"/>
  236. </property>
  237. <property>
  238. <name>timeline.metrics.host.aggregator.daily.disabled</name>
  239. <value>false</value>
  240. <description>
  241. Disable host based daily aggregations.
  242. </description>
  243. <on-ambari-upgrade add="true"/>
  244. </property>
  245. <property>
  246. <name>timeline.metrics.host.aggregator.hourly.disabled</name>
  247. <value>false</value>
  248. <display-name>Disable Hourly host aggregator</display-name>
  249. <description>
  250. Disable host based hourly aggregations.
  251. </description>
  252. <on-ambari-upgrade add="true"/>
  253. </property>
  254. <property>
  255. <name>timeline.metrics.host.aggregator.minute.disabled</name>
  256. <value>false</value>
  257. <display-name>Disable Minute host aggregator</display-name>
  258. <description>
  259. Disable host based minute aggregations.
  260. </description>
  261. <on-ambari-upgrade add="true"/>
  262. </property>
  263. <property>
  264. <name>timeline.metrics.cluster.aggregator.daily.disabled</name>
  265. <value>false</value>
  266. <description>
  267. Disable cluster based daily aggregations.
  268. </description>
  269. <on-ambari-upgrade add="true"/>
  270. </property>
  271. <property>
  272. <name>timeline.metrics.cluster.aggregator.hourly.disabled</name>
  273. <display-name>Disable Hourly cluster aggregator</display-name>
  274. <value>false</value>
  275. <description>
  276. Disable cluster based hourly aggregations.
  277. </description>
  278. <on-ambari-upgrade add="true"/>
  279. </property>
  280. <property>
  281. <name>timeline.metrics.cluster.aggregator.minute.disabled</name>
  282. <value>false</value>
  283. <display-name>Disable minute cluster aggregator</display-name>
  284. <description>
  285. Disable cluster based minute aggregations.
  286. </description>
  287. <on-ambari-upgrade add="true"/>
  288. </property>
  289. <property>
  290. <name>timeline.metrics.cluster.aggregator.second.disabled</name>
  291. <value>false</value>
  292. <display-name>Disable second cluster aggregator</display-name>
  293. <description>
  294. Disable cluster based second aggregations.
  295. </description>
  296. <on-ambari-upgrade add="true"/>
  297. </property>
  298. <property>
  299. <name>timeline.metrics.cluster.aggregator.second.timeslice.interval</name>
  300. <value>30</value>
  301. <display-name>Second cluster aggregator timeslice interval</display-name>
  302. <description>
  303. Lowest resolution of desired data for cluster level second aggregates.
  304. </description>
  305. <value-attributes>
  306. <type>int</type>
  307. </value-attributes>
  308. <on-ambari-upgrade add="true"/>
  309. </property>
  310. <property>
  311. <name>timeline.metrics.host.aggregator.daily.ttl</name>
  312. <value>31536000</value>
  313. <description>
  314. Host based daily resolution data purge interval in seconds. Default is 1 year.
  315. </description>
  316. <on-ambari-upgrade add="true"/>
  317. </property>
  318. <property>
  319. <name>timeline.metrics.host.aggregator.hourly.ttl</name>
  320. <value>2592000</value>
  321. <description>
  322. Host based hourly resolution data purge interval in seconds. Default is 30 days.
  323. </description>
  324. <on-ambari-upgrade add="true"/>
  325. </property>
  326. <property>
  327. <name>timeline.metrics.host.aggregator.minute.ttl</name>
  328. <value>604800</value>
  329. <description>
  330. Host based minute resolution data purge interval in seconds. Default is 7 days.
  331. </description>
  332. <on-ambari-upgrade add="true"/>
  333. </property>
  334. <property>
  335. <name>timeline.metrics.cluster.aggregator.second.ttl</name>
  336. <value>259200</value>
  337. <description>
  338. Cluster wide second resolution data purge interval in seconds. Default is 3 days.
  339. </description>
  340. <on-ambari-upgrade add="true"/>
  341. </property>
  342. <property>
  343. <name>timeline.metrics.cluster.aggregator.minute.ttl</name>
  344. <value>2592000</value>
  345. <description>
  346. Cluster wide minute resolution data purge interval in seconds. Default is 30 days.
  347. </description>
  348. <on-ambari-upgrade add="true"/>
  349. </property>
  350. <property>
  351. <name>timeline.metrics.cluster.aggregator.hourly.ttl</name>
  352. <value>31536000</value>
  353. <description>
  354. Cluster wide hourly resolution data purge interval in seconds. Default is 1 year.
  355. </description>
  356. <on-ambari-upgrade add="true"/>
  357. </property>
  358. <property>
  359. <name>timeline.metrics.cluster.aggregator.daily.ttl</name>
  360. <value>63072000</value>
  361. <description>
  362. Cluster wide daily resolution data purge interval in seconds. Default is 2 years.
  363. </description>
  364. <on-ambari-upgrade add="true"/>
  365. </property>
  366. <property>
  367. <name>timeline.metrics.host.aggregator.ttl</name>
  368. <value>86400</value>
  369. <description>
  370. 1 minute resolution data purge interval in seconds. Default is 1 day.
  371. </description>
  372. <depends-on>
  373. <property>
  374. <type>ams-site</type>
  375. <name>timeline.metrics.service.operation.mode</name>
  376. </property>
  377. </depends-on>
  378. <on-ambari-upgrade add="true"/>
  379. </property>
  380. <property>
  381. <name>timeline.metrics.hbase.data.block.encoding</name>
  382. <value>FAST_DIFF</value>
  383. <description>
  384. Codecs are enabled on a table by setting the DATA_BLOCK_ENCODING property.
  385. Default encoding is FAST_DIFF. This can be changed only before creating
  386. tables.
  387. </description>
  388. <on-ambari-upgrade add="true"/>
  389. </property>
  390. <property>
  391. <name>timeline.metrics.hbase.compression.scheme</name>
  392. <value>SNAPPY</value>
  393. <description>
  394. Compression codes need to be installed and available before setting the
  395. scheme. Default compression is SNAPPY. Disable by setting to None.
  396. This can be changed only before creating tables.
  397. </description>
  398. <on-ambari-upgrade add="true"/>
  399. </property>
  400. <property>
  401. <name>timeline.metrics.service.default.result.limit</name>
  402. <value>15840</value>
  403. <description>
  404. Max result limit on number of rows returned. Calculated as follows:
  405. 22 aggregate metrics/min * 2 * 60 * 6 : Retrieve 10 SECOND data for 2 hours.
  406. </description>
  407. <display-name>Metrics service default result limit</display-name>
  408. <value-attributes>
  409. <type>int</type>
  410. </value-attributes>
  411. <on-ambari-upgrade add="true"/>
  412. </property>
  413. <property>
  414. <name>timeline.metrics.service.checkpointDelay</name>
  415. <value>60</value>
  416. <display-name>Metrics service checkpoint delay</display-name>
  417. <description>
  418. Time in seconds to sleep on the first run or when the checkpoint is
  419. too old.
  420. </description>
  421. <value-attributes>
  422. <type>int</type>
  423. </value-attributes>
  424. <on-ambari-upgrade add="true"/>
  425. </property>
  426. <property>
  427. <name>timeline.metrics.service.resultset.fetchSize</name>
  428. <display-name>Metrics service resultset fetchSize</display-name>
  429. <value>2000</value>
  430. <description>
  431. JDBC resultset prefect size for aggregator queries.
  432. </description>
  433. <value-attributes>
  434. <type>int</type>
  435. </value-attributes>
  436. <on-ambari-upgrade add="true"/>
  437. </property>
  438. <!-- Phoenix properties that would manifest in the hbase-site.xml on the client side -->
  439. <property>
  440. <name>phoenix.query.maxGlobalMemoryPercentage</name>
  441. <value>25</value>
  442. <description>
  443. Percentage of total heap memory (i.e. Runtime.getRuntime().maxMemory())
  444. that all threads may use.
  445. </description>
  446. <on-ambari-upgrade add="true"/>
  447. </property>
  448. <property>
  449. <name>phoenix.spool.directory</name>
  450. <value>/tmp</value>
  451. <description>
  452. Set directory for Phoenix spill files. If possible set this to a
  453. different mount point from the one for hbase.rootdir in embedded mode.
  454. </description>
  455. <value-attributes>
  456. <type>directory</type>
  457. </value-attributes>
  458. <on-ambari-upgrade add="true"/>
  459. </property>
  460. <property>
  461. <name>timeline.metrics.service.cluster.aggregator.appIds</name>
  462. <value>datanode,nodemanager,hbase</value>
  463. <description>
  464. List of application ids to use for aggregating host level metrics for
  465. an application. Example: bytes_read across Yarn Nodemanagers.
  466. </description>
  467. <on-ambari-upgrade add="true"/>
  468. </property>
  469. <property>
  470. <name>timeline.metrics.service.use.groupBy.aggregators</name>
  471. <value>true</value>
  472. <description>
  473. Use a groupBy aggregated query to perform host level aggregations vs
  474. in-memory aggregations.
  475. </description>
  476. <on-ambari-upgrade add="true"/>
  477. </property>
  478. <property>
  479. <name>timeline.metrics.host.aggregate.splitpoints</name>
  480. <value> </value>
  481. <description>
  482. Pre-split regions using the split points corresponding to this property
  483. for the precision table that stores seconds aggregate data.
  484. </description>
  485. <depends-on>
  486. <property>
  487. <type>ams-hbase-site</type>
  488. <name>hbase.regionserver.global.memstore.upperLimit</name>
  489. </property>
  490. <property>
  491. <type>ams-hbase-site</type>
  492. <name>hbase.hregion.memstore.flush.size</name>
  493. </property>
  494. <property>
  495. <type>ams-hbase-env</type>
  496. <name>hbase_master_heapsize</name>
  497. </property>
  498. <property>
  499. <type>ams-hbase-env</type>
  500. <name>hbase_regionserver_heapsize</name>
  501. </property>
  502. </depends-on>
  503. <on-ambari-upgrade add="true"/>
  504. </property>
  505. <property>
  506. <name>timeline.metrics.cluster.aggregate.splitpoints</name>
  507. <value> </value>
  508. <description>
  509. Pre-split regions using the split points corresponding to this property
  510. for the aggregate table that stores seconds aggregate data across hosts.
  511. </description>
  512. <depends-on>
  513. <property>
  514. <type>ams-hbase-site</type>
  515. <name>hbase.regionserver.global.memstore.upperLimit</name>
  516. </property>
  517. <property>
  518. <type>ams-hbase-site</type>
  519. <name>hbase.hregion.memstore.flush.size</name>
  520. </property>
  521. <property>
  522. <type>ams-hbase-env</type>
  523. <name>hbase_master_heapsize</name>
  524. </property>
  525. <property>
  526. <type>ams-hbase-env</type>
  527. <name>hbase_regionserver_heapsize</name>
  528. </property>
  529. </depends-on>
  530. <on-ambari-upgrade add="true"/>
  531. </property>
  532. <property>
  533. <name>timeline.metrics.sink.report.interval</name>
  534. <value>60</value>
  535. <description>
  536. Time in seconds to sleep before report metrics to collector.
  537. Default resolution is 1 minute.
  538. </description>
  539. <on-ambari-upgrade add="true"/>
  540. </property>
  541. <property>
  542. <name>timeline.metrics.sink.collection.period</name>
  543. <value>10</value>
  544. <description>
  545. The interval between two service metrics data exports.
  546. </description>
  547. <on-ambari-upgrade add="true"/>
  548. </property>
  549. <property>
  550. <name>timeline.metrics.service.watcher.disabled</name>
  551. <value>false</value>
  552. <description>
  553. Disable Timeline Metric Store watcher thread. Disabled by default in AMS distributed mode.
  554. </description>
  555. <depends-on>
  556. <property>
  557. <type>ams-site</type>
  558. <name>timeline.metrics.service.operation.mode</name>
  559. </property>
  560. </depends-on>
  561. <on-ambari-upgrade add="true"/>
  562. </property>
  563. <property>
  564. <name>timeline.metrics.service.watcher.initial.delay</name>
  565. <value>600</value>
  566. <description>
  567. The time to delay first watcher check execution
  568. Default resolution is 10 minutes.
  569. </description>
  570. <on-ambari-upgrade add="true"/>
  571. </property>
  572. <property>
  573. <name>timeline.metrics.service.watcher.delay</name>
  574. <value>30</value>
  575. <description>
  576. The delay between the termination of one
  577. watcher check execution and the commencement of the next
  578. Default resolution is 30 seconds.
  579. </description>
  580. <on-ambari-upgrade add="true"/>
  581. </property>
  582. <property>
  583. <name>timeline.metrics.service.watcher.timeout</name>
  584. <value>30</value>
  585. <description>
  586. The maximum time to wait for a single watcher check execution
  587. Default resolution is 30 seconds.
  588. </description>
  589. <on-ambari-upgrade add="true"/>
  590. </property>
  591. <property>
  592. <name>timeline.metrics.hbase.fifo.compaction.enabled</name>
  593. <value>true</value>
  594. <description>
  595. Enable Compaction policy for lower for Precision and Minute aggregate tables.
  596. </description>
  597. <on-ambari-upgrade add="true"/>
  598. </property>
  599. <property>
  600. <name>timeline.metrics.aggregators.skip.blockcache.enabled</name>
  601. <value>false</value>
  602. <description>
  603. Skip block cache on aggregator queries to allow, HBase block
  604. utilization only for user queries.
  605. </description>
  606. <on-ambari-upgrade add="true"/>
  607. </property>
  608. <property>
  609. <name>timeline.metrics.cache.commit.interval</name>
  610. <value>3</value>
  611. <description>
  612. Time in seconds between committing metrics from cache
  613. </description>
  614. <value-attributes>
  615. <type>int</type>
  616. </value-attributes>
  617. <on-ambari-upgrade add="true"/>
  618. </property>
  619. <property>
  620. <name>timeline.metrics.cache.size</name>
  621. <value>150</value>
  622. <description>
  623. Size of array blocking queue used to cache metrics
  624. </description>
  625. <on-ambari-upgrade add="true"/>
  626. </property>
  627. <property>
  628. <name>timeline.metrics.cache.enabled</name>
  629. <value>true</value>
  630. <description>
  631. If set to true PhoenixHBaseAccessor will use cache to store metrics before committing them
  632. </description>
  633. <on-ambari-upgrade add="true"/>
  634. </property>
  635. <property>
  636. <name>timeline.metrics.service.http.policy</name>
  637. <value>HTTP_ONLY</value>
  638. <description>
  639. This configures the HTTP endpoint for Yarn Application History Server for
  640. Ambari Metrics System.
  641. The following values are supported:
  642. - HTTP_ONLY : Service is provided only on http
  643. - HTTPS_ONLY : Service is provided only on https
  644. </description>
  645. <on-ambari-upgrade add="true"/>
  646. </property>
  647. <property>
  648. <name>failover.strategy</name>
  649. <value>round-robin</value>
  650. <description>
  651. Failover strategy for metric monitors
  652. </description>
  653. <on-ambari-upgrade add="true"/>
  654. </property>
  655. <property>
  656. <name>timeline.metrics.hbase.init.check.enabled</name>
  657. <value>true</value>
  658. <description>
  659. Enable Initialization check for HBase tables during Metrics service startup.
  660. </description>
  661. <on-ambari-upgrade add="true"/>
  662. </property>
  663. <property>
  664. <name>timeline.metrics.cluster.aggregator.interpolation.enabled</name>
  665. <value>true</value>
  666. <description>
  667. Enable Linear interpolation for missing slices of data, while aggregating.
  668. </description>
  669. <on-ambari-upgrade add="true"/>
  670. </property>
  671. <property>
  672. <name>timeline.metrics.service.metadata.filters</name>
  673. <value>ContainerResource</value>
  674. <description>
  675. Commas separated list of regular expressions that match metric names
  676. which prevents certain metrics from ending up in metadata cache.
  677. </description>
  678. <on-ambari-upgrade add="true"/>
  679. </property>
  680. <property>
  681. <name>timeline.metrics.cluster.aggregation.sql.filters</name>
  682. <value>sdisk\_%,boottime</value>
  683. <description>
  684. Commas separated list of Metric names or Phoenix 'LIKE' class expressions that match metric names
  685. which prevents certain metrics from being aggregated across hosts.
  686. </description>
  687. <on-ambari-upgrade add="true"/>
  688. <value-attributes>
  689. <empty-value-valid>true</empty-value-valid>
  690. </value-attributes>
  691. </property>
  692. <property>
  693. <name>timeline.metrics.downsampler.topn.metric.patterns</name>
  694. <value>dfs.NNTopUserOpCounts.windowMs=60000.op=__%.user=%,dfs.NNTopUserOpCounts.windowMs=300000.op=__%.user=%,dfs.NNTopUserOpCounts.windowMs=1500000.op=__%.user=%</value>
  695. <description>
  696. Commas separated list of metric name regular expressions that are candidates for Top N downsampling.
  697. </description>
  698. <value-attributes>
  699. <empty-value-valid>true</empty-value-valid>
  700. </value-attributes>
  701. <on-ambari-upgrade add="true"/>
  702. </property>
  703. <property>
  704. <name>timeline.metrics.downsampler.topn.value</name>
  705. <value>10</value>
  706. <description>
  707. Top N value for to be used for top N downsampling. Default is 10.
  708. </description>
  709. <on-ambari-upgrade add="true"/>
  710. </property>
  711. <property>
  712. <name>timeline.metrics.downsampler.topn.function</name>
  713. <value>max</value>
  714. <description>
  715. Top N function for to be used for top N downsampling (avg/max/sum)
  716. </description>
  717. <on-ambari-upgrade add="true"/>
  718. </property>
  719. <property>
  720. <name>timeline.metrics.service.metadata.filters</name>
  721. <value>ContainerResource</value>
  722. <description>
  723. Commas separated list of regular expressions that match metric names
  724. which prevents certain metrics from ending up in metadata cache.
  725. </description>
  726. </property>
  727. </configuration>