File tree Expand file tree Collapse file tree
hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf
hadoop-yarn-common/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,6 +271,9 @@ Release 2.8.0 - UNRELEASED
271271
272272 YARN-4349. Support CallerContext in YARN. (wtan via jianhe)
273273
274+ YARN-3623. Add a new config to indicate the Timeline Service version.
275+ (Xuan Gong via junping_du)
276+
274277 IMPROVEMENTS
275278
276279 YARN-644. Basic null check is not performed on passed in arguments before
Original file line number Diff line number Diff line change @@ -1538,6 +1538,9 @@ private static void addDeprecatedKeys() {
15381538 public static final String TIMELINE_SERVICE_PREFIX =
15391539 YARN_PREFIX + "timeline-service." ;
15401540
1541+ public static final String TIMELINE_SERVICE_VERSION = TIMELINE_SERVICE_PREFIX
1542+ + "version" ;
1543+ public static final float DEFAULT_TIMELINE_SERVICE_VERSION = 1.0f ;
15411544 /**
15421545 * Comma seperated list of names for UIs hosted in the timeline server
15431546 * (For pluggable UIs).
Original file line number Diff line number Diff line change 17651765
17661766 <!-- Timeline Service Configuration -->
17671767
1768+ <property >
1769+ <description >Indicate what is the current version of the running
1770+ timeline service. For example, if "yarn.timeline-service.version" is 1.5,
1771+ and "yarn.timeline-service.enabled" is true, it means the cluster will and
1772+ should bring up the timeline service v.1.5 (and nothing else).
1773+ On the client side, if the client uses the same version of timeline service,
1774+ it should succeed. If the client chooses to use a smaller version in spite of this,
1775+ then depending on how robust the compatibility story is between versions,
1776+ the results may vary.
1777+ </description >
1778+ <name >yarn.timeline-service.version</name >
1779+ <value >1.0f</value >
1780+ </property >
1781+
17681782 <property >
17691783 <description >Indicate to clients whether timeline service is enabled or not.
17701784 If enabled, clients will put entities and events to the timeline server.
You can’t perform that action at this time.
0 commit comments