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

Review request for Ambari, Srimanth Gunturi and Yusaku Sako.


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


Repository: ambari


Description
-------

Issue: Host list ->   selected hosts   -> start all components is refusing to 
work - says nothing to do.

*Reason*: start all components will filter all host components with 'desired 
state=INSTALLED' which should be "actual state=INSTALLED", so sometimes the 
filtered host components are empty, but in fact there are components need to 
start.

*Solution*:  take out this HostRoles/state filtering and issue Start on all the 
host components for the selected hosts regardless of the actual state.
The server should just ignore Start command on host components whose actual 
state is STARTED.


Diffs
-----

  ambari-web/app/controllers/main/host.js 80cf3e3 

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


Testing
-------

Tested. Unit tests passed.


Thanks,

Xi Wang

Reply via email to