----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43947/#review121662 -----------------------------------------------------------
ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java (lines 412 - 416) <https://reviews.apache.org/r/43947/#comment183427> If we keep this approach, let's change the boolean to be less implementation dependant. Instead of `useClusterDao` it could be more generic like `bypassCache` - Jonathan Hurley On March 2, 2016, 10:11 a.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/43947/ > ----------------------------------------------------------- > > (Updated March 2, 2016, 10:11 a.m.) > > > Review request for Ambari, Myroslav Papirkovskyy and Sumit Mohanty. > > > Bugs: AMBARI-15160 > https://issues.apache.org/jira/browse/AMBARI-15160 > > > Repository: ambari > > > Description > ------- > > STR: > 1) Add new host > 2) Add Zookeeper server to added host > > Expected: Yarn show restart icon immediately > Actually: YARN restart icon was appeared after 5 minutes > > > Diffs > ----- > > ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java > 7934e78 > > ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java > aa30b48 > > ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java > e51f7f7 > > Diff: https://reviews.apache.org/r/43947/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
