Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-16834

Any start command fails if AMS is installed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None

    Description

      Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 39, in <module>
      BeforeStartHook().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 254, in execute
      method(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 28, in hook
      import params
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py", line 145, in <module>
      metric_collector_hosts += host + ':' + metric_collector_port + ','
      TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
      Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py', 'START', '/var/lib/ambari-agent/data/command-9.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START', '/var/lib/ambari-agent/data/structured-out-9.json', 'INFO', '/var/lib/ambari-agent/tmp']

      Attachments

        1. AMBARI-16834.patch
          6 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: