Open avlukanin opened 5 years ago
I have this problem with version 6.8.0.0
Actually, I have changed it to
final Environment environment = buildNodeEnvironment(i + 1);
final Node node = new ClusterRunnerNode(
InternalSettingsPreparer.prepareEnvironment(environment.settings(), null,
Collections.emptyMap(), environment.configFile()), pluginList);
node.start();
nodeList.add(node);
settingsList.add(environment.settings());
to combine elasticsearch.yml
settings and the settings, passed to onBuild
.
This directory is only used for generating Settings, but not Environment
It should be this instead to preserve the custom config directory: