-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47763/#review134548
-----------------------------------------------------------


Ship it!




Ship It!

- Dmitro Lisnichenko


On May 24, 2016, 12:08 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/47763/
> -----------------------------------------------------------
> 
> (Updated May 24, 2016, 12:08 p.m.)
> 
> 
> Review request for Ambari and Sid Wagle.
> 
> 
> Bugs: AMBARI-16834
>     https://issues.apache.org/jira/browse/AMBARI-16834
> 
> 
> Repository: ambari
> 
> 
> 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']
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/test/python/ambari_agent/TestRecoveryManager.py ae661d7 
>   
> ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
>  5790067 
>   
> ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
>  dca687f 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
>  896588f 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/hadoop-metrics2.properties.j2
>  4467d50 
> 
> Diff: https://reviews.apache.org/r/47763/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to