luocooong opened a new pull request #2215: URL: https://github.com/apache/drill/pull/2215
# [DRILL-7916](https://issues.apache.org/jira/browse/DRILL-7916): Support new plugin installation on the running system ## Description Drill does not support the new plugin installation on the running system : 1. Boot the Drill. 2. Load plugins to the persistent storage : `pluginStore`. - [x] Upgrade the plugin if the override file exist (storage-plugins-override.conf). (exist) - [ ] Check and add new plugin with the new release. (new) - [x] If 1 and 2 are not true, then initial all the plugins via loading bootstrap configuration. (exist) 3. End the boot. As the above. Before that, We must to export (and import after install new release) all the storage configutation to support the new plugin run on new release (the key point is that the `pluginStore` must be reset). Now, Everything would be much simpler. ## Documentation 1. Add a Start-up option `drill.exec.storage.append.storage`. Set to `true` if users want to using the new plugin in new release (Once only). 2. Refer to the [Start-Up Options](https://drill.apache.org/docs/start-up-options/). `./drillbit.sh start -Dname=value` 2. No difference from the current startup process if not set the option (On-demand use). ## Testing To-do -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
