Skip to content

Commit

Permalink
[TEST] remove watermark flood from static config
Browse files Browse the repository at this point in the history
Not compatible with 5.x, and I don't think we need it anyway.
If needed later we can add some sort of check, although
version comparisons in bash are gross (and we have to deal with
.x versions)
  • Loading branch information
polyfractal committed Aug 21, 2017
1 parent e0f0985 commit 9b71940
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions travis/download_and_run_es.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ if [ -z $ES_VERSION ]; then
exit 1;
fi;


killall java 2>/dev/null

which java
Expand All @@ -24,11 +23,9 @@ find . -name "elasticsearch.yml" | while read TXT ; do echo 'path.repo: ["/tmp"]
find . -name "elasticsearch.yml" | while read TXT ; do echo 'node.max_local_storage_nodes: 1' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.low: 1b' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.high: 1b' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.flood_stage: 1b' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'node.attr.testattr: test' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'script.max_compilations_per_minute: 2048' >> $TXT ; done


echo "Starting Elasticsearch v${ES_VERSION}"

./elasticsearch-*/bin/elasticsearch -d
Expand Down

0 comments on commit 9b71940

Please sign in to comment.