You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Nate Cole <nc...@hortonworks.com> on 2014/08/14 18:53:45 UTC

Review Request 24703: Flume: with no agents defined, state should be determined by overall desired state

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

Review request for Ambari, Jonathan Hurley and Srimanth Gunturi.


Bugs: AMBARI-6864
    https://issues.apache.org/jira/browse/AMBARI-6864


Repository: ambari


Description
-------

Flume persists the service desired state for start/stop.  When the number of agents is 0, use this desired state to decide when a ComponentIsNotRunning exception is thrown.  This means:
No agents, and desired = STARTED, the status should be STARTED
No agents, and desired = INSTALLED, the status should be INSTALLED


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/package/scripts/flume.py 4016c79 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/package/scripts/flume_handler.py 99c29cb 
  ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py e4fd61d 

Diff: https://reviews.apache.org/r/24703/diff/


Testing
-------

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:03.513s
[INFO] Finished at: Thu Aug 14 12:51:01 EDT 2014
[INFO] Final Memory: 19M/123M
[INFO] ------------------------------------------------------------------------


Thanks,

Nate Cole


Re: Review Request 24703: Flume: with no agents defined, state should be determined by overall desired state

Posted by Jonathan Hurley <jh...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24703/#review50617
-----------------------------------------------------------

Ship it!


Ship It!

- Jonathan Hurley


On Aug. 14, 2014, 12:53 p.m., Nate Cole wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24703/
> -----------------------------------------------------------
> 
> (Updated Aug. 14, 2014, 12:53 p.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley and Srimanth Gunturi.
> 
> 
> Bugs: AMBARI-6864
>     https://issues.apache.org/jira/browse/AMBARI-6864
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Flume persists the service desired state for start/stop.  When the number of agents is 0, use this desired state to decide when a ComponentIsNotRunning exception is thrown.  This means:
> No agents, and desired = STARTED, the status should be STARTED
> No agents, and desired = INSTALLED, the status should be INSTALLED
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/package/scripts/flume.py 4016c79 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/package/scripts/flume_handler.py 99c29cb 
>   ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py e4fd61d 
> 
> Diff: https://reviews.apache.org/r/24703/diff/
> 
> 
> Testing
> -------
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 20:03.513s
> [INFO] Finished at: Thu Aug 14 12:51:01 EDT 2014
> [INFO] Final Memory: 19M/123M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Nate Cole
> 
>