ambari icon indicating copy to clipboard operation
ambari copied to clipboard

AMBARI-25883: init function of InitializerModule called twice

Open rzuo opened this issue 1 year ago • 0 comments

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 before opening a pull request.

rzuo avatar Mar 05 '23 07:03 rzuo