Questions about breaking changes re: .yml setting changes between ES 1.7.2 and ES 5.x


(Casie Owen) #1

Hi,

We're spinning up a new 5.0 cluster to migrate our data to. Our current cluster is a 1.7.2 cluster. We're going to use the reindex from remote option.

While spinning up the new VMs, we ran into some breaking changes re: .yml settings and I have some questions.

The below were no longer allowed. The error we got was fairly self explanatory. Looks like the yml can't contain index settings anymore, and that we'll set them dynamically. That's cool.

indices.store.throttle.max_bytes_per_sec
index.refresh_interval
index.translog.flush_threshold_size

But I'm not as clear on the below:

bootstrap.mlockall
script.disable_dynamic

Re: the bootstrap.mlockall setting, we got this error: org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [bootstrap.mlockall] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

Re: the script.disable_dynamic setting, we got this error: org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: script.disable_dynamic is not a supported setting, replace with fine-grained script settings.

Is there documentation anywhere that explains how we need to handle these settings/the conditions they're intended to address from a before/after (ES 1.7.2/ES 5.x) perspective?

Thanks,
Casie


(Nik Everett) #2

https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_50_settings_changes.html and https://www.elastic.co/guide/en/elasticsearch/reference/2.0/breaking_20_setting_changes.html document those settings changes. Those pages should have all the breaking changes documented.


(Casie Owen) #3

Thanks!


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.