[ 
https://issues.apache.org/jira/browse/AMBARI-16834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668161#comment-15668161
 ] 

Hudson commented on AMBARI-16834:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #328 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/328/])
AMBARI-16834. Any start command fails if AMS is installed. (aonischuk 
(avijayan: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2845140b070da184f91e375c9da0955a546a58f9])
* (edit) 
ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
* (edit) 
ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/hadoop-metrics2.properties.j2
* (edit) ambari-agent/src/test/python/ambari_agent/TestRecoveryManager.py
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py


> 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: 2.5.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)

Reply via email to