Very simple just let it connect to a ES run by Amazon :D regards, Achim
2016-10-20 9:39 GMT+02:00 Jean-Baptiste Onofré <j...@nanthrax.net>: > Hi Achim, > > No problem to disable the checker and improve the discovery. > > For 1. I never had this issue with elasticsearch on docker (with Mesos). > Do you have a scenario to reproduce it ? > > Regards > JB > > > On 10/20/2016 09:32 AM, Achim Nierbeck wrote: > >> Hi, >> >> right now we do have an issue with the ElasticSearch Rest appender when >> using a an amazon based ES instance. >> >> this results in two rather stange effects I'd like to discuss >> >> 1) we do get an Exception by DS (SCR) that it's not able to obtain a >> lock on a service ... don't know where this is coming from. [1] >> >> 2) The configured service endpoints [2] vanishes [3] and the rest >> appender isn't capable of finding the ES endpoint configured in the >> service config. >> >> >> I have one suspicion, that the discovery for other endpoints is enabled >> cause we do see some sort of "CHECKER" thread [4] running ... >> >> therefore I opened issue KARAF-4794 >> and am planning on disabling this by default. >> >> >> regards, Achim >> >> >> [1] - >> https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee >> 278545#file-elasticsearch-rest-appender-L4-L29 >> >> [2] >> - https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee >> 278545#file-elasticsearch-rest-appender-L1 >> >> [3] >> - https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee >> 278545#file-elasticsearch-rest-appender-L60 >> >> [4] >> - https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee >> 278545#file-elasticsearch-rest-appender-L60-L61 >> >> [5] - https://issues.apache.org/jira/browse/KARAF-4794 >> >> >> >> -- >> >> Apache Member >> Apache Karaf <http://karaf.apache.org/> Committer & PMC >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer >> & Project Lead >> blog <http://notizblog.nierbeck.de/> >> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >> >> Software Architect / Project Manager / Scrum Master >> >> > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master