-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24338/
-----------------------------------------------------------
Review request for Ambari, Srimanth Gunturi and Sid Wagle.
Bugs: AMBARI-6749
https://issues.apache.org/jira/browse/AMBARI-6749
Repository: ambari
Description
-------
When no agents are defined, the service state for FLUME should be STARTED and
not INSTALLED. This value is calculated as part of the python status for each
host component. Since there's only 1 component (FLUME_HANDLER), it's up to the
python code to know that no agents means that the FLUME_HANDLER component
should be in a STARTED state.
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/package/scripts/flume_handler.py
c29dd93
ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py f421bf5
Diff: https://reviews.apache.org/r/24338/diff/
Testing
-------
Manually verified that no agents still leaves FLUME in a STARTED state. When
FLUME is STARTED and all agents are killed, FLUME will correctly transition
into INSTALLED.
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:19.307s
[INFO] Finished at: Tue Aug 05 16:48:07 EDT 2014
[INFO] Final Memory: 21M/123M
[INFO] ------------------------------------------------------------------------
Thanks,
Jonathan Hurley