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-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org

Reply via email to