summaryrefslogtreecommitdiff
path: root/ambari-server/src/main/resources/stacks/HDP/2.1/services/YARN/configuration/yarn-site.xml
blob: 732cef18a2b84c2d53b79cb73ff583b2e846e240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration supports_final="true" xmlns:xi="http://www.w3.org/2001/XInclude">
  <property>
    <name>yarn.timeline-service.enabled</name>
    <value>true</value>
    <description>Indicate to clients whether timeline service is enabled or not.
      If enabled, clients will put entities and events to the timeline server.
    </description>
    <value-attributes>
      <type>boolean</type>
    </value-attributes>
  </property>

  <property>
    <name>yarn.timeline-service.store-class</name>
    <value>org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore</value>
    <description>
      Store class name for timeline store
    </description>
  </property>

  <property>
    <name>yarn.timeline-service.generic-application-history.store-class</name>
    <value>org.apache.hadoop.yarn.server.applicationhistoryservice.NullApplicationHistoryStore</value>
    <description>
      Store class name for history store, defaulting to file system store
    </description>
  </property>

  <property>
    <name>yarn.timeline-service.leveldb-timeline-store.path</name>
    <value>/var/log/hadoop-yarn/timeline</value>
    <description>
      Store file name for leveldb timeline store
    </description>
    <value-attributes>
      <type>directory</type>
    </value-attributes>
  </property>

  <property>
    <name>yarn.timeline-service.webapp.address</name>
    <value>localhost:8188</value>
    <property-type>DONT_ADD_ON_UPGRADE</property-type>
    <description>
      The http address of the timeline service web application.
    </description>
  </property>

  <property>
    <name>yarn.timeline-service.webapp.https.address</name>
    <value>localhost:8190</value>
    <property-type>DONT_ADD_ON_UPGRADE</property-type>
    <description>
      The http address of the timeline service web application.
    </description>
  </property>

  <property>
    <name>yarn.timeline-service.address</name>
    <value>localhost:10200</value>
    <property-type>DONT_ADD_ON_UPGRADE</property-type>
    <description>
      This is default address for the timeline server to start
      the RPC server.
    </description>
  </property>
  <property>
    <description>Enable age off of timeline store data.</description>
    <name>yarn.timeline-service.ttl-enable</name>
    <value>true</value>
    <value-attributes>
      <type>boolean</type>
    </value-attributes>
  </property>
  <property>
    <description>Time to live for timeline store data in milliseconds.</description>
    <name>yarn.timeline-service.ttl-ms</name>
    <value>2678400000</value>
    <value-attributes>
      <type>int</type>
    </value-attributes>
  </property>
  <property>
    <description>Length of time to wait between deletion cycles of leveldb timeline store in milliseconds.</description>
    <name>yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms</name>
    <value>300000</value>
    <value-attributes>
      <type>int</type>
    </value-attributes>
  </property>
</configuration>