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

(Updated April 29, 2016, 7:08 p.m.)


Review request for Ambari, Jonathan Hurley and Sid Wagle.


Changes
-------

@Jonathan got me thinking about a use-case whereby you could ask for the 
logical request directly.  My previous patch wasn't doing that correctly even 
though it achieved the goal of not calling the TopologyManager.getStages() 
every call.


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


Repository: ambari


Description
-------

Calls to the StageResourceProvider are unnecessarily loading all stages and 
tasks for Blueprint creation request.


Diffs (updated)
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StageResourceProvider.java
 d3cb96c 
  
ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java
 b5d8d5e 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StageResourceProviderTest.java
 2c187a9 

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


Testing
-------

Manual.  Automated pending.


Thanks,

Nate Cole

Reply via email to