Lav Jain created AMBARI-14557:
---------------------------------

             Summary: Stack advisor recommendations for SPARK use incorrect 
logic
                 Key: AMBARI-14557
                 URL: https://issues.apache.org/jira/browse/AMBARI-14557
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk
            Reporter: Lav Jain
            Priority: Minor


In PHD33StackAdvisor.getComponentLayoutValidations routine, SPARK_THRIFTSERVER 
and HIVE_SERVER should be components (not services).

{code}
    if "SPARK_THRIFTSERVER" in [service["StackServices"]["service_name"] for 
service in services["services"]]:
      if not "HIVE_SERVER" in [service["StackServices"]["service_name"] for 
service in services["services"]]:
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to