You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Anand Subramanian (JIRA)" <ji...@apache.org> on 2017/08/30 07:34:00 UTC

[jira] [Created] (METRON-1141) Fix metronProfilerHost name in stack_advisor.py

Anand Subramanian created METRON-1141:
-----------------------------------------

             Summary: Fix metronProfilerHost name in stack_advisor.py
                 Key: METRON-1141
                 URL: https://issues.apache.org/jira/browse/METRON-1141
             Project: Metron
          Issue Type: Bug
            Reporter: Anand Subramanian
            Assignee: Anand Subramanian


With the most recent changes from METRON-1122, when trying to deploy a Metron stack using Ambari + Mpack, the wizard hangs at step #5 "Assign Masters" page. The logs show the following error message:

{code}
Error occured in stack advisor.
Error details: global name 'metronProfilerHost' is not defined
30 Aug 2017 06:12:50,285  INFO [ambari-client-thread-27] StackAdvisorRunner:71 -     advisor script stderr: Traceback (most recent call last):
  File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 158, in <module>
    main(sys.argv)
  File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 106, in main
    result = stackAdvisor.validateComponentLayout(services, hosts)
  File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 529, in validateComponentLayout
    validationItems = self.getComponentLayoutValidations(services, hosts)
  File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.5/services/stack_advisor.py", line 93, in getComponentLayoutValidations
    parentItems = super(HDP25StackAdvisor, self).getComponentLayoutValidations(services, hosts)
  File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.3/services/stack_advisor.py", line 40, in getComponentLayoutValidations
    parentItems = super(HDP23StackAdvisor, self).getComponentLayoutValidations(services, hosts)
  File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py", line 41, in getComponentLayoutValidations
    items = super(HDP206StackAdvisor, self).getComponentLayoutValidations(services, hosts)
  File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 550, in getComponentLayoutValidations
    items.extend(serviceAdvisor.getServiceComponentLayoutValidations(services, hosts))
  File "/var/lib/ambari-server/resources/common-services/METRON/0.4.1.1.3.0.0/service_advisor.py", line 80, in getServiceComponentLayoutValidations
    if metronParsersHost != metronProfilerHost:
NameError: global name 'metronProfilerHost' is not defined
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)