Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-2262

Native core plugins a registered twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.70
    • None

    Description

      The 6 native core plugins below are iniatilized twice, when HopEnvironment calls PluginRegistry.init (), all core plugins previously added plugins are initialized a second time (slow startup)

      • org.apache.hop.core.row.value.ValueMetaPlugin
      • org.apache.hop.core.database.DatabaseMetaPlugin
      • org.apache.hop.core.extension.ExtensionPoint
      • org.apache.hop.core.encryption.TwoWayPasswordEncoderPlugin
      • org.apache.hop.core.vfs.plugin.VfsPlugin
      • org.apache.hop.core.logging.LoggingPlugin

       

      The sequence order:

      1) HopClientEnvironment add core plugin type

      2) HopClientEnvironment init plugin registry

      3) HopEnvironment add engine plugin type

      4) HopEnvironment init plugin registry (core + engine)

       

      It is useful to differentiate whether the PluginType is added or registered ?

      In my opinion we can solve the problem by removing the addPluginType and init methods, and keeping the registerPluginType method.

       

      Attachments

        1. HOP-2472 timings.ods
          16 kB
          Matt Casters

        Activity

          People

            Unassigned Unassigned
            nadment Nicolas Adment
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: