Elasticsearch-river-mongodb error


(tongwencong) #1

ElasticSearch:1.4.2
mongodb:3.0.0
elasticsearch-river-mongodb: 2.0.9

my river config:
curl -XPUT "http://szxglg038-ts:9200/_river/mongodb/_meta" -d' {
"type":"mongodb",
"mongodb":{
"servers":[{"host": "szxtsv12066mgd", "port": 27017},{"host": "szxtsv12067mgd", "port": 27017},{"host": "szxtsv12068mgd", "port": 27017}],
"db":"log_db",
"credentials":[{"db":"local","user":"s_log","password":"swcf2fY@" }, {"db":"admin","user":"s_log","password":"swcf2fY@"}],
"collection":"test","gridfs":true},
"index":{"name":"log_db","type":"test"}}'

the error is :


(Mark Walkom) #2

Please don't post images of text, they are hard to read and may not load for some people.


(tongwencong) #3

I know the elasticsearch jar is too high.
I use elasticsearch-0.19.0.jar success


(system) #4