richardwilly98 / elasticsearch-river-mongodb

MongoDB River Plugin for ElasticSearch
1.12k stars 215 forks source link

elasticsearch does not shutdown after installing river plugin #507

Open rrphotosoft opened 9 years ago

rrphotosoft commented 9 years ago

Hi, I am running Elasticsearch 1.3.5 with river-plugin 2.0.2 Mongodb 2.6.4

When i start elasticsearch I see following output in logs: [2015-03-31 01:54:13,549][INFO ][river.mongodb ] [Headlok] Creating MongoClient for [[localhost:27017]] [2015-03-31 01:54:13,660][TRACE][org.elasticsearch.river.mongodb.MongoConfigProvider] Found admin database [2015-03-31 01:54:13,662][TRACE][org.elasticsearch.river.mongodb.MongoConfigProvider] About to execute: { "serverStatus" : 1 , "asserts" : 0 , "backgroundFlushing" : 0 , "connections" : 0 , "cursors" : 0 , "dur" : 0 , "extra_info" : 0 , "globalLock" : 0 , "indexCounters" : 0 , "locks" : 0 , "metrics" : 0 , "network" : 0 , "opcounters" : 0 , "opcountersRepl" : 0 , "recordStats" : 0 , "repl" : 0} [2015-03-31 01:54:53,663][TRACE][org.elasticsearch.river.mongodb.MongoConfigProvider] Found admin database

After this , when I try to stop es, i get message that it is trying to stop Elasticsearch node, but then the above lines continue to be seen again and again at regular intervals, and es never shuts down.

At the same time, it is not adding any documents to the elasticsearch index, even though replica sets are on, and oplog shows that documents are being added.

Can you please help, I am not able to proceed for several days with this issue.

Thanks, rR.