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


Ship it!




Ship It!

- Sumit Mohanty


On Feb. 13, 2017, 5:22 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56605/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2017, 5:22 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Sumit 
> Mohanty, and Sid Wagle.
> 
> 
> Bugs: AMBARI-19972
>     https://issues.apache.org/jira/browse/AMBARI-19972
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Scenario:
> * Install a cluster with Hadoop, Hive, Flume, Hbase, Spark
> * Enable Wire encryption
> ** While enabling wire encryption, script makes a rest call to stop all 
> services. In this instance the WE stop all service failed to stop flume agent 
> on one of the hosts 
> 
> As per cluster state, Ambari failed to stop a2 agent on Host4. However stderr 
> stack trace says it failed to stop a1 agent.
> {code:title=stderr}
> stderr:   /var/lib/ambari-agent/data/errors-203.txt
> 
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
>  line 126, in <module>
>     FlumeHandler().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 313, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
>  line 60, in stop
>     flume(action='stop')
>   File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", 
> line 89, in thunk
>     return fn(*args, **kwargs)
>   File 
> "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py",
>  line 226, in flume
>     raise Fail("Can't stop flume agent: {0}".format(agent))
> resource_management.core.exceptions.Fail: Can't stop flume agent: a1{code}
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py
>  81b077f 
>   ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py 4cf43c1 
> 
> Diff: https://reviews.apache.org/r/56605/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>

Reply via email to