Comments (8)
Hi,
Did you run rs.initiate() from MongoDB to initiate the rs.oplog collection?
Did you setup your mongo river? I don't see in your ES log traces like:
[2012-06-05 21:47:46,009][DEBUG][river.mongodb ] [Guardsman]
[mongodb][mongodb] Prefix: [Guardsman] [mongodb][mongodb] - name:
river.mongodb
[2012-06-05 21:47:46,010][INFO ][river.mongodb ] [Guardsman]
[mongodb][mongodb] starting mongodb stream: host [localhost], port [27017],
gridfs [false], filter [testriver], db [personindex], indexing to
[testriver]/[{}]
Thanks,
Richard.
On Mon, Jun 11, 2012 at 7:26 PM, ahsin01 <
[email protected]
wrote:
Hi there, I've tried to follow the same issues regarding
NoSuchElementException
{"error":"IndexMissingException[[mongoindex] missing]","status":404}Below is ES.log, I've tried to set the log to debug and reinstall plugins.
From the ES.log, it seems not even tried to tell if it did find the
mongodb replicaset or not.[2012-06-11 16:15:14,038][INFO ][node ] [Joe Fixit]
{0.19.4}[26020]: initializing ...
[2012-06-11 16:15:14,055][INFO ][plugins ] [Joe Fixit]
loaded [river-mongodb, mapper-attachments], sites []
[2012-06-11 16:15:16,260][INFO ][node ] [Joe Fixit]
{0.19.4}[26020]: initialized
[2012-06-11 16:15:16,261][INFO ][node ] [Joe Fixit]
{0.19.4}[26020]: starting ...
[2012-06-11 16:15:16,362][INFO ][transport ] [Joe Fixit]
bound_address {inet[/0.0.0.0:9300]}, publish_address {inet[/
192.168.1.11:9300]}
[2012-06-11 16:15:19,571][INFO ][cluster.service ] [Joe Fixit]
detected_master [Reyes,
Cecelia][ecfXwyIWSSOo5T3m756Vvg][inet[/192.168.1.11:9301]], added
{[Lighting Rod][mJb8jdIPQxWDpzrVK9B4ZA][inet[/192.168.1.11:9302]],[Living
Eraser][qEpGWyf5S2SR4gP-jhcsUw][inet[/192.168.1.11:9303]],[Reyes,
Cecelia][ecfXwyIWSSOo5T3m756Vvg][inet[/192.168.1.11:9301]],}, reason:
zen-disco-receive(from master [[Reyes,
Cecelia][ecfXwyIWSSOo5T3m756Vvg][inet[/192.168.1.11:9301]]])
[2012-06-11 16:15:19,638][INFO ][discovery ] [Joe Fixit]
elasticsearch/RPqNAlTZRG6kGaPqRgUIdw
[2012-06-11 16:15:19,641][INFO ][http ] [Joe Fixit]
bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/
192.168.1.11:9200]}
[2012-06-11 16:15:19,641][INFO ][node ] [Joe Fixit]
{0.19.4}[26020]: startedI also issued the command from other windows using mongod --replSet foo
--port 27017 --dbpath /data/r0 --oplogSize 700, but without lucks, can you
please provide any insights? In addition, will any oplog file will get
generated I can spot it?Thanks.
Reply to this email directly or view it on GitHub:
#21
from elasticsearch-river-mongodb.
Yes, i did follow MongoDB
PRIMARY> rs.status()
{
"set" : "foo",
"date" : ISODate("2012-06-11T23:42:55Z"),
"myState" : 1,
"members" : [
{
"_id" : 0,
"name" : "localhost:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"optime" : {
"t" : 1339454803000,
"i" : 1
},
"optimeDate" : ISODate("2012-06-11T22:46:43Z"),
"self" : true
},
{
"_id" : 1,
"name" : "localhost:27018",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 309,
"optime" : {
"t" : 1339454803000,
"i" : 1
},
"optimeDate" : ISODate("2012-06-11T22:46:43Z"),
"lastHeartbeat" : ISODate("2012-06-11T23:42:55Z"),
"pingMs" : 0
},
{
"_id" : 2,
"name" : "localhost:27019",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 292,
"optime" : {
"t" : 1339454803000,
"i" : 1
},
"optimeDate" : ISODate("2012-06-11T22:46:43Z"),
"lastHeartbeat" : ISODate("2012-06-11T23:42:55Z"),
"pingMs" : 0
}
],
"ok" : 1
}
PRIMARY>
I did install the plugins (run the plugin command line to get mapper-attachment and river-mongodb) and restart ES. Is that all I need to install mongo river, or any additional steps I was missing?
in ES.log there was a line
[2012-06-11 16:15:14,055][INFO ][plugins ] [Joe Fixit] loaded [river-mongodb, mapper-attachments], sites []
But I couldn't see any other river.mongodb log...
from elasticsearch-river-mongodb.
See configuration section from here [0].
[0] - https://github.com/richardwilly98/elasticsearch-river-mongodb/wiki
On Mon, Jun 11, 2012 at 7:58 PM, ahsin01 <
[email protected]
wrote:
Yes, i did follow MongoDB
PRIMARY> rs.status()
{
"set" : "foo",
"date" : ISODate("2012-06-11T23:42:55Z"),
"myState" : 1,
"members" : [
{
"_id" : 0,
"name" : "localhost:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"optime" : {
"t" : 1339454803000,
"i" : 1
},
"optimeDate" : ISODate("2012-06-11T22:46:43Z"),
"self" : true
},
{
"_id" : 1,
"name" : "localhost:27018",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 309,
"optime" : {
"t" : 1339454803000,
"i" : 1
},
"optimeDate" : ISODate("2012-06-11T22:46:43Z"),
"lastHeartbeat" : ISODate("2012-06-11T23:42:55Z"),
"pingMs" : 0
},
{
"_id" : 2,
"name" : "localhost:27019",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 292,
"optime" : {
"t" : 1339454803000,
"i" : 1
},
"optimeDate" : ISODate("2012-06-11T22:46:43Z"),
"lastHeartbeat" : ISODate("2012-06-11T23:42:55Z"),
"pingMs" : 0
}
],
"ok" : 1
}
PRIMARY>I did install the plugins (run the plugin command line to get
mapper-attachment and river-mongodb) and restart ES. Is that all I need to
install mongo river, or any additional steps I was missing?in ES.log there was a line
[2012-06-11 16:15:14,055][INFO ][plugins ] [Joe Fixit]
loaded [river-mongodb, mapper-attachments], sites []But I couldn't see any other river.mongodb log...
Reply to this email directly or view it on GitHub:
from elasticsearch-river-mongodb.
I did follow the example with same error. I guess my problem is there is no additional log in ES to show if ES tried to hookup Mongo as you provided "starting mongodb stream: host [localhost], port [27017],"
Should it be there every time you restated ES?
from elasticsearch-river-mongodb.
Yes it should.
------Original Message------
From: ahsin01
To: Richard Louapre
Subject: Re: [elasticsearch-river-mongodb] error on IndexMissingException (#21)
Sent: Jun 11, 2012 8:14 PM
I did follow the example with same error. I guess my problem is there is no additional log in ES to show if ES tried to hookup Mongo as you provided "starting mongodb stream: host [localhost], port [27017],"
Should it be there every time you restated ES?
Reply to this email directly or view it on GitHub:
#21 (comment)
Sent via BlackBerry Bold
from elasticsearch-river-mongodb.
Now, I shutdown all mongo instances and restarted ES, all I got is still
[2012-06-11 17:20:18,014][INFO ][node ] [Meteor Man] {0.19.4}[28839]: initializing ...
[2012-06-11 17:20:18,031][INFO ][plugins ] [Meteor Man] loaded [river-mongodb, mapper-attachments], sites []
[2012-06-11 17:20:20,067][INFO ][node ] [Meteor Man] {0.19.4}[28839]: initialized
[2012-06-11 17:20:20,068][INFO ][node ] [Meteor Man] {0.19.4}[28839]: starting ...
[2012-06-11 17:20:20,161][INFO ][transport ] [Meteor Man] bound_address {inet[/0.0.0.0:9300]}, publish_address {inet[/192.168.1.11:9300]}
[2012-06-11 17:20:23,292][INFO ][cluster.service ] [Meteor Man] detected_master [Reyes, Cecelia][ecfXwyIWSSOo5T3m756Vvg][inet[/192.168.1.11:9301]], added {[Lighting Rod][mJb8jdIPQxWDpzrVK9B4ZA][inet[/192.168.1.11:9302]],[Living Eraser][qEpGWyf5S2SR4gP-jhcsUw][inet[/192.168.1.11:9303]],[Reyes, Cecelia][ecfXwyIWSSOo5T3m756Vvg][inet[/192.168.1.11:9301]],}, reason: zen-disco-receive(from master [[Reyes, Cecelia][ecfXwyIWSSOo5T3m756Vvg][inet[/192.168.1.11:9301]]])
[2012-06-11 17:20:23,317][INFO ][discovery ] [Meteor Man] elasticsearch/XUJ5NC2iT1eZjAZ6TA9grA
[2012-06-11 17:20:23,320][INFO ][http ] [Meteor Man] bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/192.168.1.11:9200]}
[2012-06-11 17:20:23,320][INFO ][node ] [Meteor Man] {0.19.4}[28839]: started
I have no clues what the next steps I can do now...
from elasticsearch-river-mongodb.
BTW, the mongo version I used was 2.0.6, I am assuming replSet name, foo, shouldn't be matter....any recommandation?
from elasticsearch-river-mongodb.
After rerunning ES this morning within VPN, all of sudden the log started to show the errors in the loop complaining about connection refused. Then restarting the mongo instances, and it works now....
Without VPN, the river didn't do anything and seems stuck after started as previously stated, my guess is probably something to do with localhost in OSX.
from elasticsearch-river-mongodb.
Related Issues (20)
- Make the river more resistant to bulk import failures HOT 1
- Compatibility with ES 2.0 & MongoDB 3.0 or 2.6.11 HOT 1
- can't use 'local' database through mongos
- version update HOT 1
- MongoDB location field type is identified as boolean
- Help,My mongo-river has error~ClassNotFoundException[mongodb] HOT 3
- Data is not replicating from MongoDB to elasticSearch and mongo-river is not running HOT 1
- ES 2.2.0 how install river for mongodb error 'plugin-descriptor.properties' HOT 6
- Release new version HOT 6
- River in replica set and shard not updating index at all times HOT 4
- ELASTICSEARCH connect MONGOLAB BDD seems empty
- I am trying to use the MongoDB river (v2.0.11) with elasticsearch (v1.7.3) , can't sync data to elasticsearch HOT 1
- CollectionScan died due to position in capped collection being deleted
- create river on mongodb sharded cluster
- how to install for elasticsearch 2.2.0 ?
- how to install it for elasticsearch 5.0.1 HOT 2
- Impossible to import collection with binary _id HOT 1
- Question: can't install mongodb river plugin on windows command HOT 1
- Support for ElasticSearch 5.0+ Version HOT 3
- Project seems dead. Is there an alternative? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-river-mongodb.