Yesha Vora created AMBARI-19972:
-----------------------------------

             Summary: 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
            Reporter: Yesha Vora


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)

Reply via email to