Elasticsearch 0.90.10

MattW

Well-known member
Anyone else running this?

I've updated 2 servers to use it, and both are now reporting errors

Code:
[2014-01-12 02:15:49,597][WARN ][index.engine.robin       ] [Blazing Skull] [htl][2] Warm-up failed
java.lang.IllegalMonitorStateException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:503)
        at org.elasticsearch.search.SearchService$SearchWarmer$2.awaitTermination(SearchService.java:822)
        at org.elasticsearch.indices.warmer.InternalIndicesWarmer.warm(InternalIndicesWarmer.java:99)
        at org.elasticsearch.index.engine.robin.RobinEngine$2.warm(RobinEngine.java:1443)
        at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4186)
        at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3654)
        at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:405)
        at org.apache.lucene.index.TrackingConcurrentMergeScheduler.doMerge(TrackingConcurrentMergeScheduler.java:107)
        at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)
[2014-01-12 02:17:34,182][WARN ][index.engine.robin       ] [Blazing Skull] [htl][4] failed to prepare/warm
java.lang.IllegalMonitorStateException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:503)
        at org.elasticsearch.search.SearchService$SearchWarmer$2.awaitTermination(SearchService.java:822)
        at org.elasticsearch.indices.warmer.InternalIndicesWarmer.warm(InternalIndicesWarmer.java:99)
        at org.elasticsearch.index.engine.robin.RobinEngine$RobinSearchFactory.newSearcher(RobinEngine.java:1652)
        at org.apache.lucene.search.SearcherManager.getSearcher(SearcherManager.java:155)
        at org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:122)
        at org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:58)
        at org.apache.lucene.search.ReferenceManager.doMaybeRefresh(ReferenceManager.java:155)
        at org.apache.lucene.search.ReferenceManager.maybeRefresh(ReferenceManager.java:204)
        at org.elasticsearch.index.engine.robin.RobinEngine.refresh(RobinEngine.java:786)
        at org.elasticsearch.index.shard.service.InternalIndexShard.refresh(InternalIndexShard.java:459)
        at org.elasticsearch.index.shard.service.InternalIndexShard$EngineRefresher$1.run(InternalIndexShard.java:877)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Code:
root@host [995 02:22:09 /elasticsearch/logs]# curl localhost:9200  
{
  "ok" : true,
  "status" : 200,
  "name" : "Blazing Skull",
  "version" : {
    "number" : "0.90.10",
    "build_hash" : "0a5781f44876e8d1c30b6360628d59cb2a7a2bbb",
    "build_timestamp" : "2014-01-10T10:18:37Z",
    "build_snapshot" : false,
    "lucene_version" : "4.6"
  },
  "tagline" : "You Know, for Search"
}


2nd server
Code:
[2014-01-12 08:11:19,143][WARN ][index.engine.robin       ] [Architect] [z22se][4] failed to prepare/warm
java.lang.IllegalMonitorStateException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:503)
        at org.elasticsearch.search.SearchService$SearchWarmer$2.awaitTermination(SearchService.java:822)
        at org.elasticsearch.indices.warmer.InternalIndicesWarmer.warm(InternalIndicesWarmer.java:99)
        at org.elasticsearch.index.engine.robin.RobinEngine$RobinSearchFactory.newSearcher(RobinEngine.java:1652)
        at org.apache.lucene.search.SearcherManager.getSearcher(SearcherManager.java:155)
        at org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:122)
        at org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:58)
        at org.apache.lucene.search.ReferenceManager.doMaybeRefresh(ReferenceManager.java:155)
        at org.apache.lucene.search.ReferenceManager.maybeRefresh(ReferenceManager.java:204)
        at org.elasticsearch.index.engine.robin.RobinEngine.refresh(RobinEngine.java:786)
        at org.elasticsearch.index.shard.service.InternalIndexShard.refresh(InternalIndexShard.java:459)
        at org.elasticsearch.index.shard.service.InternalIndexShard$EngineRefresher$1.run(InternalIndexShard.java:877)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[2014-01-12 08:14:23,631][WARN ][index.engine.robin       ] [Architect] [z22se][2] failed to prepare/warm
java.lang.IllegalMonitorStateException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:503)
        at org.elasticsearch.search.SearchService$SearchWarmer$2.awaitTermination(SearchService.java:822)
        at org.elasticsearch.indices.warmer.InternalIndicesWarmer.warm(InternalIndicesWarmer.java:99)
        at org.elasticsearch.index.engine.robin.RobinEngine$RobinSearchFactory.newSearcher(RobinEngine.java:1652)
        at org.apache.lucene.search.SearcherManager.getSearcher(SearcherManager.java:155)
        at org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:122)
        at org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:58)
        at org.apache.lucene.search.ReferenceManager.doMaybeRefresh(ReferenceManager.java:155)
        at org.apache.lucene.search.ReferenceManager.maybeRefresh(ReferenceManager.java:204)
        at org.elasticsearch.index.engine.robin.RobinEngine.refresh(RobinEngine.java:786)
        at org.elasticsearch.index.shard.service.InternalIndexShard.refresh(InternalIndexShard.java:459)
        at org.elasticsearch.index.shard.service.InternalIndexShard$EngineRefresher$1.run(InternalIndexShard.java:877)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Code:
[root@astra logs]# curl localhost:9200
{
  "ok" : true,
  "status" : 200,
  "name" : "Architect",
  "version" : {
    "number" : "0.90.10",
    "build_hash" : "0a5781f44876e8d1c30b6360628d59cb2a7a2bbb",
    "build_timestamp" : "2014-01-10T10:18:37Z",
    "build_snapshot" : false,
    "lucene_version" : "4.6"
  },
  "tagline" : "You Know, for Search"
}
 
Did you ever figure out what the issue was here? I'm likely going to be purchase ES within the next few days and would like to know whether or not it would be ok to install the latest version of elasticsearch, or if I need to go ahead and install 0.90.9 too.
 
Did you ever figure out what the issue was here? I'm likely going to be purchase ES within the next few days and would like to know whether or not it would be ok to install the latest version of elasticsearch, or if I need to go ahead and install 0.90.9 too.
No, I've since moved servers, and done a fresh install with 0.90.10 and it's working fine.
Code:
[root@vps logs]# curl localhost:9200
{
  "ok" : true,
  "status" : 200,
  "name" : "Blaquesmith",
  "version" : {
    "number" : "0.90.10",
    "build_hash" : "0a5781f44876e8d1c30b6360628d59cb2a7a2bbb",
    "build_timestamp" : "2014-01-10T10:18:37Z",
    "build_snapshot" : false,
    "lucene_version" : "4.6"
  },
  "tagline" : "You Know, for Search"
}
I think it could have been down to having pre-warmers enabled prior to upgrading, where on the new install, I've not set them this time around.
 
Last edited:
Is there a guide to upgrade ElasticSearch properly?

Does this steps work fine?
  1. Stop the service
  2. d0wnl0ad the new elasticsearch
  3. Overwrite the files
  4. Re-configure if needed
  5. Restart the service
  6. Reindex.
 
:)

Code:
 curl http://localhost:9200
{
  "status" : 200,
  "name" : "Tombstone",
  "version" : {
    "number" : "1.0.1",
    "build_hash" : "5c03844e1978e5cc924dab2a423dc63ce881c42b",
    "build_timestamp" : "2014-02-25T15:52:53Z",
    "build_snapshot" : false,
    "lucene_version" : "4.6"
  },
  "tagline" : "You Know, for Search"
}
 
Back
Top Bottom