ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject [3/9] ambari git commit: AMBARI-18244. Add Service for Atlas did not call conf-select, so failed to find /etc/atlas/conf/users-credentials.properties (alejandro)
Date Tue, 30 Aug 2016 01:43:37 GMT
AMBARI-18244. Add Service for Atlas did not call conf-select, so failed to find /etc/atlas/conf/users-credentials.properties
(alejandro)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/905f0631
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/905f0631
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/905f0631

Branch: refs/heads/branch-2.4
Commit: 905f06318f08858882d9be89cf5f29e9e670a6b6
Parents: 9be6445
Author: Alejandro Fernandez <afernandez@hortonworks.com>
Authored: Tue Aug 23 16:46:34 2016 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Mon Aug 29 18:30:49 2016 -0700

----------------------------------------------------------------------
 .../resource_management/libraries/functions/conf_select.py     | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/905f0631/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py
b/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py
index b7e873f..c60b324 100644
--- a/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py
+++ b/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py
@@ -45,6 +45,12 @@ from resource_management.libraries.functions import StackFeature
 STACK_ROOT_PATTERN = "{{ stack_root }}"
 
 _PACKAGE_DIRS = {
+  "atlas": [
+    {
+      "conf_dir": "/etc/atlas/conf",
+      "current_dir": "{0}/current/atlas-client/conf".format(STACK_ROOT_PATTERN)
+    }
+  ],
   "accumulo": [
     {
       "conf_dir": "/etc/accumulo/conf",


Mime
View raw message