Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25883

init function of InitializerModule called twice

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.8.0
    • None
    • ambari-agent
    • None

    Description

      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.

      1. 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rongguo.zuo@gmail.com Robin Zuo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: