Browse Source

AMBARI-15644. Dev Deploy: stack_advisor failed to recommend Hive Configurations (secured cluster) (aonishuk)

Andrew Onishuk 9 years ago
parent
commit
a88f8cba3d

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py

@@ -101,7 +101,7 @@ class HDP21StackAdvisor(HDP206StackAdvisor):
         webHcatSiteProperty("webhcat.proxyuser.{0}.groups".format(ambari_user), "*")
         old_ambari_user = self.getOldAmbariUser(services)
         if old_ambari_user is not None:
-            webHcatSitePropertyAttributes = self.putPropertyAttribute(configurations, "webhcat-site", services)
+            webHcatSitePropertyAttributes = self.putPropertyAttribute(configurations, "webhcat-site")
             webHcatSitePropertyAttributes("webhcat.proxyuser.{0}.hosts".format(old_ambari_user), 'delete', 'true')
             webHcatSitePropertyAttributes("webhcat.proxyuser.{0}.groups".format(old_ambari_user), 'delete', 'true')