You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "rzuo (via GitHub)" <gi...@apache.org> on 2023/03/05 07:50:50 UTC

[GitHub] [ambari] rzuo opened a new pull request, #3656: init function of InitializerModule called twice

rzuo opened a new pull request, #3656:
URL: https://github.com/apache/ambari/pull/3656

   init function of InitializerModule is called twice.
   
   The first call is within constructor of InitializerModule, the second call is main() in main.py.
   
   As the comments said, the second call is to see exceptions/errors of initialization.
   
   init data, once loggers are setup to see exceptions/errors of initialization.
   initializer_module.init()
   
   This issue is to fix it, and make InitializerModule.init() call only once.
   
   ## What changes were proposed in this pull request?
   
   (Please fill in changes proposed in this fix)
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
   
   Please review [Ambari Contributing Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) before opening a pull request.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org