-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][test] Disable disk usage threshold & geoip download and enable logging for Elastic Testcontainers #20671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[improve][test] Disable disk usage threshold & geoip download and enable logging for Elastic Testcontainers #20671
Conversation
eolivelli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great
Thank you very much
nicoloboschi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
|
I finally found the root cause. It's not the geoip download, but it's the default Elastic configuration that it stops writes when the disk usage goes over 90%. I've now added a setting to disable the disk usage threshold. |
|
The logging helped find the issue. However, it's only a warning that gets printed: 2023-06-28T15:14:43,179 - INFO - [docker-java-stream--1170024553:ElasticSearchSinkTester@113] - elastic> {"@timestamp":"2023-06-28T15:14:43.176Z", "log.level": "WARN", "message":"high disk watermark [90%] exceeded on [WSN4y7xITamrUzTvic-eEg][94f6a74e1f83][/usr/share/elasticsearch/data] free: 8.1gb[9.7%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[94f6a74e1f83][masterService#updateTask][T#1]","log.logger":"org.elasticsearch.cluster.routing.allocation.DiskThresholdMonitor","elasticsearch.cluster.uuid":"_NqZoH7vRxqPTe21y53uhQ","elasticsearch.node.id":"WSN4y7xITamrUzTvic-eEg","elasticsearch.node.name":"94f6a74e1f83","elasticsearch.cluster.name":"docker-cluster"} |
…for Elastic Testcontainers - backports apache#20671 to branch-2.10
…ble logging for Elastic Testcontainers (apache#20671) (cherry picked from commit e97fe5b) # Conflicts: # tests/integration/src/test/java/org/apache/pulsar/tests/integration/topologies/PulsarCluster.java
…ble logging for Elastic Testcontainers (apache#20671) (#193) Cherry-picks upstream apache#20671 (cherry picked from commit e97fe5b) # Conflicts: # tests/integration/src/test/java/org/apache/pulsar/tests/integration/topologies/PulsarCluster.java
Fixes #20661
Motivation
master branch is blocked by PulsarSinksTest.testElasticSearch8Sink failing, see #20661
Modifications
Matching PR in forked repository
PR in forked repository: lhotari#151
docdoc-requireddoc-not-neededdoc-complete