Skip to content
Permalink
Browse files
[FLINK-24433][Connector][Elasticsearch] Disable Elasticsearch disk al…
…location decider. Elasticsearch by default goes into read-only mode when the disk usage is above 85%. On the Azure E2E tests, this is quite common.

We therefore disable the entire disk allocation decider, as documented on https://www.elastic.co/guide/en/elasticsearch/reference/6.2/disk-allocator.html
  • Loading branch information
MartijnVisser committed May 17, 2022
1 parent 62d64eb commit 86cf5247c564a6a17a41c0a858e838ca975c9a22
Showing 1 changed file with 3 additions and 0 deletions.
@@ -65,6 +65,9 @@
.fromContainer(
new ElasticsearchContainer(
DockerImageName.parse(getElasticsearchContainerName()))
.withEnv(
"cluster.routing.allocation.disk.threshold_enabled",
"false")
.withNetworkAliases(ELASTICSEARCH_HOSTNAME))
.bindWithFlinkContainer(flink.getFlinkContainers().getJobManager())
.build();

0 comments on commit 86cf524

Please sign in to comment.