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 <[email protected]>
Authored: Tue Aug 23 16:46:34 2016 -0700
Committer: Sumit Mohanty <[email protected]>
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",

Reply via email to