You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/05/24 09:09:12 UTC
[jira] [Updated] (AMBARI-16834) Any start command fails if AMS is
installed.
[ https://issues.apache.org/jira/browse/AMBARI-16834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk updated AMBARI-16834:
-------------------------------------
Attachment: AMBARI-16834.patch
> Any start command fails if AMS is installed.
> --------------------------------------------
>
> Key: AMBARI-16834
> URL: https://issues.apache.org/jira/browse/AMBARI-16834
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 3.0.0
>
> Attachments: AMBARI-16834.patch
>
>
> 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']
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)