[ https://issues.apache.org/jira/browse/AMBARI-16834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Wagle updated AMBARI-16834: ------------------------------------- Labels: ambari-metrics ambari-server (was: ) > 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 > Labels: ambari-metrics, ambari-server > 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)