This is an automated email from the ASF dual-hosted git repository. amagyar pushed a commit to branch branch-2.7 in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push: new d1cf807 AMBARI-25294. Druid requires HDFS_CLIENT to be co-hosted, doesn't recognize ONEFS_CLIENT (amagyar) (#3079) d1cf807 is described below commit d1cf807e70ebaf981433b53841a1a8f0b2850fa9 Author: Attila Magyar <amag...@hortonworks.com> AuthorDate: Mon Sep 2 10:49:45 2019 +0200 AMBARI-25294. Druid requires HDFS_CLIENT to be co-hosted, doesn't recognize ONEFS_CLIENT (amagyar) (#3079) --- ambari-server/src/main/resources/stacks/stack_advisor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ambari-server/src/main/resources/stacks/stack_advisor.py b/ambari-server/src/main/resources/stacks/stack_advisor.py index d82cf80..769249f 100644 --- a/ambari-server/src/main/resources/stacks/stack_advisor.py +++ b/ambari-server/src/main/resources/stacks/stack_advisor.py @@ -1849,6 +1849,9 @@ class DefaultStackAdvisor(StackAdvisor): component = next((component for component in componentsList if component["component_name"] == componentName), None) + if component is None and componentName == 'HDFS_CLIENT': + component = next((component for component in componentsList if component["component_type"] == 'HCFS_CLIENT'), None) + return component def getComponentAttribute(self, component, attribute):