Support BE plugin framework, include: * update Plugin Manager, support Plugin find method * support Builtin-Plugin register method * plugin install/uninstall process * PluginLoader: * dynamic install and check Plugin .so file * dynamic uninstall and check Plugin status * PluginZip: * support plugin remote/local .zip file download and extract TODO: * We should support a PluginContext to transmit necessary system variable when the plugin's init/close method invoke * Add the entry which is BE dynamic Plugin install/uninstall process, include: * The FE send install/uninstall Plugin statement (RPC way) * The FE meta update request with Plugin list information * The FE operation request(update/query) with Plugin (maybe don't need) * Add the plugin status upload way * Load already install Plugin when BE start
This commit is contained in:
@ -61,6 +61,7 @@
|
||||
#include "gen_cpp/TExtDataSourceService.h"
|
||||
#include "gen_cpp/HeartbeatService_types.h"
|
||||
#include "runtime/heartbeat_flags.h"
|
||||
#include "plugin/plugin_mgr.h"
|
||||
|
||||
namespace doris {
|
||||
|
||||
@ -103,6 +104,7 @@ Status ExecEnv::_init(const std::vector<StorePath>& store_paths) {
|
||||
_stream_load_executor = new StreamLoadExecutor(this);
|
||||
_routine_load_task_executor = new RoutineLoadTaskExecutor(this);
|
||||
_small_file_mgr = new SmallFileMgr(this, config::small_file_dir);
|
||||
_plugin_mgr = new PluginMgr();
|
||||
|
||||
_backend_client_cache->init_metrics(DorisMetrics::metrics(), "backend");
|
||||
_frontend_client_cache->init_metrics(DorisMetrics::metrics(), "frontend");
|
||||
|
||||
Reference in New Issue
Block a user