[ https://issues.apache.org/jira/browse/AMBARI-19972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15864646#comment-15864646 ]
Hudson commented on AMBARI-19972: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #978 (See [https://builds.apache.org/job/Ambari-branch-2.5/978/]) AMBARI-19972. Stop All services call failed to stop flume (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b0af5f74181e9704eb9bf7fe8e897859885866ca]) * (edit) ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py * (edit) ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py > Stop All services call failed to stop flume agent > ------------------------------------------------- > > Key: AMBARI-19972 > URL: https://issues.apache.org/jira/browse/AMBARI-19972 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.5.0 > Reporter: Yesha Vora > Assignee: Vitaly Brodetskyi > Fix For: 2.5.0 > > Attachments: AMBARI-19972.patch, flume_stop_stack_trace.log > > > 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} -- This message was sent by Atlassian JIRA (v6.3.15#6346)