> On Фев. 5, 2015, 6:49 п.п., Alejandro Fernandez wrote: > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java, > > line 170 > > <https://reviews.apache.org/r/30680/diff/1/?file=850826#file850826line170> > > > > Why would the cluster name be missing?
We support /api/v1/hosts which contains every host of every cluster, and even detached ones - Yurii ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30680/#review71264 ----------------------------------------------------------- On Фев. 5, 2015, 6:18 п.п., Yurii Shylov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30680/ > ----------------------------------------------------------- > > (Updated Фев. 5, 2015, 6:18 п.п.) > > > Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Nate > Cole. > > > Bugs: AMBARI-9499 > https://issues.apache.org/jira/browse/AMBARI-9499 > > > Repository: ambari > > > Description > ------- > > Notes on impl: > host versions should not be removed as well as the hosts itself, they only > get detached from cluster. So filtering by cluster was added to > HostStackVersionProvider > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java > 201ebad > > ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java > 1427b4b > > ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java > 532ad33 > > Diff: https://reviews.apache.org/r/30680/diff/ > > > Testing > ------- > > In Progress > > > Thanks, > > Yurii Shylov > >
