ElasticSearch: Indexing times out if number_of_replicas is greater than 1 -
i'm experimenting scaling elasticsearch , want increase amount of replicas, unable index if number_of_replicas set higher 1.
i've been able replicate issue fresh install of es:
- download , unzip es
- modify
config/elasticsearch.yml
file , setindex.number_of_replicas
setting 2 - run
bin/elasticsearch
- index test document:
curl -xput 'localhost:9200/test/example/1' -d '{body:"hello"}'
- timeout
i'm running latest version of es (1.2.1) on mac osx 10.9.2. i've been running es on ubuntu wheezy vm, encountered same problem there. setting number of replicas on index-basis (using put
request) has same effect. makes me feel i'm missing fundamental.
power more es nodes (see second comment)
Comments
Post a Comment