Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PluginManager should not install a plugin, if it would create jar hell #11946
We now fail on ES startup if we detect jar hell (which we should keep), but I think we can probably factor out the logic to a method that takes URL. pluginmanager could then pass classpath of current plugins, and add the "candidate" classpath from the plugin to-be-installed.
Ideally we do all of this before touching the filesystem, so the plugin installation just fails but the overall ES installation stays working.
I will try to make a prototype.