fe/src/main/java/org/apache/doris/plugin/DynamicPluginLoader.java
public void reload() throws IOException, UserException {
        if (hasInstalled()) {
            plugin = dynamicLoadPlugin(installPath);
            pluginInstallValid();
            plugin.init(pluginInfo, pluginContext);

        } else {
            // re-install
            this.pluginInfo = null;
            this.installPath = null;

            install();
        }
    }
/**
     * reload plugin if plugin has already been installed, else will re-install
     */
reload plugin if plugin has already been installed, else will re-install
reload plugin if plugin has already been installed else will re - install
public void reload() throws IOException, UserException {
        if (hasInstalled()) {
            plugin = dynamicLoadPlugin(installPath);
            pluginInstallValid();
            plugin.init(pluginInfo, pluginContext);
        } else {
            this.pluginInfo = null;
            this.installPath = null;
            install();
        }
    }
public void reload ( ) throws IOException , UserException { if ( hasInstalled ( ) ) { plugin = dynamicLoadPlugin ( installPath ) ; pluginInstallValid ( ) ; plugin . init ( pluginInfo , pluginContext ) ; } else { this . pluginInfo = null ; this . installPath = null ; install ( ) ; } }
reload plugin if plugin has already been installed, else will re-install
reload plugin if plugin has already been installed else will re - install
// re-install