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 , set index.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

Popular posts from this blog

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -