I found that in one node we cannot start river-mongodb in same time I need to wait one finish of starting import process and then I can start another river.
If I start another river before it finished it show this log and stop doing any thing:
[2015-07-05 23:11:42,527][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] River xxx startup pending
[2015-07-05 23:11:42,531][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] Starting river xxx
[2015-07-05 23:11:42,531][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB options: secondaryreadpreference [false], drop_collection [false], include_collection [], throttlesize [50000], gridfs [false], filter [null], db [xxx], collection [xxxx], script [null], indexing to [xxx]/[xxxxx]
I found that in one node we cannot start river-mongodb in same time I need to wait one finish of starting import process and then I can start another river.
If I start another river before it finished it show this log and stop doing any thing: [2015-07-05 23:11:42,527][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] River xxx startup pending [2015-07-05 23:11:42,531][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] Starting river xxx [2015-07-05 23:11:42,531][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB options: secondaryreadpreference [false], drop_collection [false], include_collection [], throttlesize [50000], gridfs [false], filter [null], db [xxx], collection [xxxx], script [null], indexing to [xxx]/[xxxxx]
Thanks