----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62258/#review185235 -----------------------------------------------------------
Fix it, then Ship it! ambari-server/src/main/java/org/apache/ambari/server/stack/StackContext.java Line 151 (original), 159 (patched) <https://reviews.apache.org/r/62258/#comment261532> can we move amount of threads to constant, to make it more easy to tune in the future? ambari-server/src/main/java/org/apache/ambari/server/stack/StackContext.java Lines 219 (patched) <https://reviews.apache.org/r/62258/#comment261531> Looks like not used assign ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java Lines 1154 (patched) <https://reviews.apache.org/r/62258/#comment261533> This could be moved to the top of the function and be used after for the check? - Dmytro Grinenko On Sept. 12, 2017, 8:10 p.m., Nate Cole wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62258/ > ----------------------------------------------------------- > > (Updated Sept. 12, 2017, 8:10 p.m.) > > > Review request for Ambari, Dmytro Grinenko, Dmitro Lisnichenko, and Jonathan > Hurley. > > > Bugs: AMBARI-21941 > https://issues.apache.org/jira/browse/AMBARI-21941 > > > Repository: ambari > > > Description > ------- > > Starting Ambari will load all the hdp_urlinfo.json and files and VDF in a > sequential manner. This is all in a single-threaded Executor. When that > happens, the data can take upwards of a full minute to be populated in some > cases. This should be multi-threaded. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/stack/StackContext.java > da7f021059 > ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java > cbbe92e8cc > ambari-server/src/main/java/org/apache/ambari/server/state/StackInfo.java > f1412f543e > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/LatestRepoCallable.java > c43ce7c628 > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/RepoUrlInfoCallable.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/RepoVdfCallable.java > PRE-CREATION > > > Diff: https://reviews.apache.org/r/62258/diff/1/ > > > Testing > ------- > > This is a refactor only. Existing tests cover the functionality needed while > just adding a performance boost to loading VDF. > > Manual. Automated pending. > > > Thanks, > > Nate Cole > >