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

(Updated June 30, 2016, 4:15 p.m.)


Review request for Ambari, Daniel Gergely, Sumit Mohanty, and Sebastian Toader.


Summary (updated)
-----------------

Optimized classpath scannig for upgrade check impelemtations


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


Repository: ambari


Description
-------

Problem:
During startup the ambari server scasns the classpath for finding components to 
be bound in the IoC context.
When binding upgrade check implementations the full ambari package is scanned 
that leads to prolonged startup time.

Solution:
As upgrade check implementations reside in a dedicated package, the scanner is 
modified to lookup them in this very package.
(on the local env this shortens the startup time by ~25 seconds)


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
 e0bda13 

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


Testing
-------

Unit tests running.


Thanks,

Laszlo Puskas

Reply via email to