elasticsearch-river-mongodb
elasticsearch-river-mongodb copied to clipboard
Cannot remove mongodb river
Hi, I had previously installed the mongodb river. After about a week, it stopped working with a START_FAILED error. Per the issue described in https://github.com/richardwilly98/elasticsearch-river-mongodb/issues/449, I tried to delete and recreate the river.
When issuing a curl http://localhost: -XDELETE 'http://localhost:9200/_river/mongodb'
I get the error:
{"error":"TypeMissingException[[_all] type[[mongodb]] missing: No index has the type.]","status":404}[2]+ Done
mongodb version 2.6.7 elasticsearch version 1.4.2 river version 2.0.5
Logs:
Starting elasticsearch: [ OK ]
[ec2-user@ip-172-31-12-171 ~]$ [2015-02-13 04:57:45,829][INFO ][node ] [ip-172-31-12-171] version[1.4.2], pid[4306], build[927caff/2014-12-16T14:11:12Z]
[2015-02-13 04:57:45,829][INFO ][node ] [ip-172-31-12-171] initializing ...
[2015-02-13 04:57:45,890][INFO ][plugins ] [ip-172-31-12-171] loaded [river-twitter, jdbc-1.4.0.3.Beta1-d9de01c, mongodb-river, mapper-attachments, marvel, cloud-aws], sites [marvel, river-mongodb]
[2015-02-13 04:57:48,287][TRACE][rest.action.mongodb ] [ip-172-31-12-171] RestMongoDBRiverAction - baseUrl: /_river/mongodb
[2015-02-13 04:57:48,617][INFO ][node ] [ip-172-31-12-171] initialized
[2015-02-13 04:57:48,617][INFO ][node ] [ip-172-31-12-171] starting ...
[2015-02-13 04:57:48,672][INFO ][transport ] [ip-172-31-12-171] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/172.31.12.171:9300]}
[2015-02-13 04:57:48,680][INFO ][discovery ] [ip-172-31-12-171] elasticsearch/F4aEASxISX22uqlS1IdNxQ
[2015-02-13 04:57:51,706][INFO ][cluster.service ] [ip-172-31-12-171] new_master [ip-172-31-12-171][F4aEASxISX22uqlS1IdNxQ][ip-172-31-12-171][inet[/172.31.12.171:9300]]{master=true}, reason: zen-disco-join (elected_as_master)
[2015-02-13 04:57:51,799][INFO ][http ] [ip-172-31-12-171] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/172.31.12.171:9200]}
[2015-02-13 04:57:51,799][INFO ][node ] [ip-172-31-12-171] started
[2015-02-13 04:57:52,436][INFO ][gateway ] [ip-172-31-12-171] recovered [12] indices into cluster_state
[2015-02-13 04:57:53,852][INFO ][river.twitter ] [ip-172-31-12-171] [twitter][twitter_iwant] creating twitter stream river
[2015-02-13 04:57:53,894][TRACE][org.elasticsearch.river.mongodb.MongoDBRiver] Initializing river : [merchantRiver]
[2015-02-13 04:57:53,894][TRACE][river.mongodb ] Parse river settings for merchantRiver
[2015-02-13 04:57:53,944][TRACE][river.mongodb ] mongoServersSettings: [{port=27017, host=54.67.86.139}, {port=27017, host=54.67.30.127}]
[2015-02-13 04:57:53,945][TRACE][river.mongodb ] Server: REMOVED - 27017
[2015-02-13 04:57:53,945][TRACE][river.mongodb ] Server: REMOVED - 27017
[2015-02-13 04:57:53,991][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB River Plugin - version[2.0.5] - hash[c11c5ae] - time[2014-12-18T12:08:22Z]
[2015-02-13 04:57:54,004][ERROR][org.elasticsearch.river.mongodb.MongoDBRiver] Cannot start river merchantRiver. Current status is START_FAILED
[2015-02-13 04:57:54,230][INFO ][river.twitter ] [ip-172-31-12-171] [twitter][twitter_iwant] starting filter twitter stream
[2015-02-13 04:57:54,419][INFO ][twitter4j.TwitterStreamImpl] Establishing connection.
[2015-02-13 04:57:54,666][INFO ][cluster.service ] [ip-172-31-12-171] added {[ip-172-31-9-95][1EUOvZP0RUCqEk_wtCgpYg][ip-172-31-9-95][inet[/172.31.9.95:9300]]{master=false},}, reason: zen-disco-receive(join from node[[ip-172-31-9-95][1EUOvZP0RUCqEk_wtCgpYg][ip-172-31-9-95][inet[/172.31.9.95:9300]]{master=false}])
Can you offer some assistance troubleshooting why I cannot delete the river, or why it will not start? Thanks!
Issue was resolved by renaming the river.