You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by di...@apache.org on 2017/01/16 19:35:16 UTC
ambari git commit: AMBARI-19537: Provide default value for yarn
leveldb state store path (dili)
Repository: ambari
Updated Branches:
refs/heads/trunk e78b92b8d -> 7301a8031
AMBARI-19537: Provide default value for yarn leveldb state store path (dili)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7301a803
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7301a803
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7301a803
Branch: refs/heads/trunk
Commit: 7301a803190261608769e232d2da7505f20aa9ae
Parents: e78b92b
Author: Di Li <di...@apache.org>
Authored: Mon Jan 16 14:35:00 2017 -0500
Committer: Di Li <di...@apache.org>
Committed: Mon Jan 16 14:35:00 2017 -0500
----------------------------------------------------------------------
.../common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py | 2 +-
.../common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/7301a803/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
index 2fb7bff..177e0e0 100644
--- a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
@@ -119,7 +119,7 @@ if stack_supports_ru:
if stack_supports_timeline_state_store:
# Timeline Service property that was added timeline_state_store stack feature
- ats_leveldb_state_store_dir = config['configurations']['yarn-site']['yarn.timeline-service.leveldb-state-store.path']
+ ats_leveldb_state_store_dir = default('/configurations/yarn-site/yarn.timeline-service.leveldb-state-store.path', '/hadoop/yarn/timeline')
# ats 1.5 properties
entity_groupfs_active_dir = config['configurations']['yarn-site']['yarn.timeline-service.entity-group-fs-store.active-dir']
http://git-wip-us.apache.org/repos/asf/ambari/blob/7301a803/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py
index 23a25a0..236b132 100644
--- a/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py
@@ -119,7 +119,7 @@ if stack_supports_ru:
if stack_supports_timeline_state_store:
# Timeline Service property that was added timeline_state_store stack feature
- ats_leveldb_state_store_dir = config['configurations']['yarn-site']['yarn.timeline-service.leveldb-state-store.path']
+ ats_leveldb_state_store_dir = default('/configurations/yarn-site/yarn.timeline-service.leveldb-state-store.path', '/hadoop/yarn/timeline')
# ats 1.5 properties
entity_groupfs_active_dir = config['configurations']['yarn-site']['yarn.timeline-service.entity-group-fs-store.active-dir']