You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Robin Zuo (Jira)" <ji...@apache.org> on 2023/03/05 07:49:00 UTC

[jira] [Created] (AMBARI-25883) init function of InitializerModule called twice

Robin Zuo created AMBARI-25883:
----------------------------------

             Summary: init function of InitializerModule called twice
                 Key: AMBARI-25883
                 URL: https://issues.apache.org/jira/browse/AMBARI-25883
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-agent
    Affects Versions: 2.8.0
            Reporter: Robin Zuo


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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