public interface PluginBootstrapLoader
Caveats:: The upgrade mechanism is rather ad-hoc; it actually needs a version number to be solid, but the persistent store does not currently provide a version number. See DRILL-7613.
| Modifier and Type | Method and Description |
|---|---|
StoragePlugins |
bootstrapPlugins()
Drill has detected that this is a new installation.
|
void |
onUpgrade()
Drill successfully applied the plugin upgrades from
updatedPlugins(). |
StoragePlugins |
updatedPlugins()
Drill has detected that on restart, the persistent storage
plugin exists.
|
StoragePlugins bootstrapPlugins() throws IOException
IOExceptionStoragePlugins updatedPlugins()
Note: this functionality is crude, there is no version, all Drillbits in a cluster will race to do the upgrade. Caveat emptor. See DRILL-7613.
void onUpgrade()
updatedPlugins(). Use this event to mark this
version as having been upgraded. (Again, this is crude and
may not actually work. See DRILL-7613.)Copyright © 2021 The Apache Software Foundation. All rights reserved.