jeudi 16 avril 2015

MongoDB River Plugin for ElasticSearch on AWS EC2 Windows Server

I've reached a point of defeat, basically I've tried to setup the MongoDB River Plugin for ElasticSearch on Windows Server 2012 running on Amazon AWS EC2 and failed miserably.


I have similar setup already running fine on Windows Server 2008 (running on dedicated box) which is as follows:



  • MongoDB 2.6.3 setup on Linux box (that didn't change)

  • ES 1.1.1 on Windows box (fresh new Windows Server 2012)

  • both on completely different networks.


Now the issue is that I'm getting some exceptions and River is not pulling any data to ES:



[http.netty] [Spider-Slayer] Caught exception while handling client http traffic, closing connection [id: 0x9fa1daca, /127.0.0.1:57260 => /127.0.0.1:9200] java.lang.IllegalArgumentException: empty text


It seems like River can't connect to DB or send the data back to ES. There isn't a lot of debugging information in logs except that river failed to start.


I suspect that publish address for ES isn't correct or blocked (don't know really how to debug that).


Any help how to get this working or debugged greatly appreciated!





Aucun commentaire:

Enregistrer un commentaire