The ControllerModule is iterating over all classes which are instances of NotificationDispatcher and binding them to a singleton instance. At this point in the startup, the classes have been identified and the only real work being done is a conversation from a String to a Class instance before having guice create the bindings.
Can you produce a thread thump during those 6 minutes so we can see where the time is being spent? On Oct 15, 2015, at 8:58 PM, Stephen Boesch <java...@gmail.com<mailto:java...@gmail.com>> wrote: I am building a new ambari cluster. Presently we just have the ambari binaries installed. The following delays have been noted several times now: notice there is a six minute delay during which nothing appears to be occurring: .. 16 Oct 2015 00:45:48,471 INFO [main] Configuration:670 - Reading password from existing file 16 Oct 2015 00:45:48,481 INFO [main] Configuration:957 - Hosts Mapping File null 16 Oct 2015 00:45:48,481 INFO [main] HostsMap:60 - Using hostsmap file null 16 Oct 2015 00:45:48,800 INFO [main] ControllerModule:187 - Detected POSTGRES as the database type from the JDBC URL 16 Oct 2015 00:45:49,488 INFO [main] ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher 16 Oct 2015 00:51:48,881 INFO [main] ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher 16 Oct 2015 00:51:48,892 INFO [main] ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher 16 Oct 2015 00:51:51,047 INFO [main] AmbariServer:710 - Getting the controller 16 Oct 2015 00:51:51,907 INFO [main] StackManager:107 - Initializing the stack manager... 16 Oct 2015 00:51:51,908 INFO [main] StackManager:267 - Validating stack directory /var/lib/ambari-server/resources/stacks ... 16 Oct 2015 00:51:51,908 INFO [main] StackManager:243 - Validating common services directory /var/lib/ambari-server/resources/common-services ... 16 Oct 2015 00:51:52,271 INFO [main] StackDirectory:426 - Stack '/var/lib/ambari-server/resources/stacks/HDP/2.3.GlusterFS' doesn't contain an upgrade directory .. What is going on here?