Re: Decanter - Bigger issue with the ElasticSearch Rest appender

2016-10-20 Thread Jean-Baptiste Onofré
Good to know, but weird anyway (especially, as it works when using 
"locally" or on docker).


Thanks,

Regards
JB

On 10/20/2016 09:53 AM, Achim Nierbeck wrote:

Ok .. my latest fix seems to fix it.
The default seems to be true which does have some strange effects.

regards, Achim

2016-10-20 9:48 GMT+02:00 Jean-Baptiste Onofré mailto:j...@nanthrax.net>>:

OK, let me look for one ;)

Regards
JB

On 10/20/2016 09:44 AM, Achim Nierbeck wrote:

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é mailto: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/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L4-L29




>

[2]
-


https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L1




>

[3]
-


https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L60




>

[4]
-


https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L60-L61




>

[5] - https://issues.apache.org/jira/browse/KARAF-4794

>



--

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web

>> Committer
& Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


--
Jean-Baptiste Onofré
jbono...

Re: Decanter - Bigger issue with the ElasticSearch Rest appender

2016-10-20 Thread Achim Nierbeck
Ok .. my latest fix seems to fix it.
The default seems to be true which does have some strange effects.

regards, Achim

2016-10-20 9:48 GMT+02:00 Jean-Baptiste Onofré :

> OK, let me look for one ;)
>
> Regards
> JB
>
> On 10/20/2016 09:44 AM, Achim Nierbeck wrote:
>
>> 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é > >:
>>
>>
>> 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
>> > e278545#file-elasticsearch-rest-appender-L4-L29>
>>
>> [2]
>> -
>> https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee
>> 278545#file-elasticsearch-rest-appender-L1
>> > e278545#file-elasticsearch-rest-appender-L1>
>>
>> [3]
>> -
>> https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee
>> 278545#file-elasticsearch-rest-appender-L60
>> > e278545#file-elasticsearch-rest-appender-L60>
>>
>> [4]
>> -
>> https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee
>> 278545#file-elasticsearch-rest-appender-L60-L61
>> > e278545#file-elasticsearch-rest-appender-L60-L61>
>>
>> [5] - https://issues.apache.org/jira/browse/KARAF-4794
>> 
>>
>>
>>
>> --
>>
>> Apache Member
>> Apache Karaf  Committer & PMC
>> OPS4J Pax Web > > Committer
>> & Project Lead
>> blog 
>> Co-Author of Apache Karaf Cookbook 
>>
>> 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  Committer & PMC
>> OPS4J Pax Web  Committer
>> & Project Lead
>> blog 
>> Co-Author of Apache Karaf Cookbook 
>>
>> 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  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Re: Decanter - Bigger issue with the ElasticSearch Rest appender

2016-10-20 Thread Achim Nierbeck
And I did configure it via code ... that's the main difference to the
standard configuration. But that shouldn't be much of an issue. As only one
configuration is present in Karaf.

regards, Achim

2016-10-20 9:44 GMT+02:00 Achim Nierbeck :

> 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é :
>
>> 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  Committer & PMC
>>> OPS4J Pax Web  Committer
>>> & Project Lead
>>> blog 
>>> Co-Author of Apache Karaf Cookbook 
>>>
>>> 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  Committer & PMC
> OPS4J Pax Web  Committer &
> Project Lead
> blog 
> Co-Author of Apache Karaf Cookbook 
>
> Software Architect / Project Manager / Scrum Master
>
>


-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Re: Decanter - Bigger issue with the ElasticSearch Rest appender

2016-10-20 Thread Jean-Baptiste Onofré

OK, let me look for one ;)

Regards
JB

On 10/20/2016 09:44 AM, Achim Nierbeck wrote:

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é mailto: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/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L4-L29



[2]
-

https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L1



[3]
-

https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L60



[4]
-

https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L60-L61



[5] - https://issues.apache.org/jira/browse/KARAF-4794




--

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web > Committer
& Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

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  Committer & PMC
OPS4J Pax Web  Committer
& Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Decanter - Bigger issue with the ElasticSearch Rest appender

2016-10-20 Thread Achim Nierbeck
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é :

> 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  Committer & PMC
>> OPS4J Pax Web  Committer
>> & Project Lead
>> blog 
>> Co-Author of Apache Karaf Cookbook 
>>
>> 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  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Re: Decanter - Bigger issue with the ElasticSearch Rest appender

2016-10-20 Thread Jean-Baptiste Onofré

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/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L4-L29

[2]
- 
https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L1

[3]
- 
https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L60

[4]
- 
https://gist.github.com/ANierbeck/bfcad89716b04b6beea8a409ee278545#file-elasticsearch-rest-appender-L60-L61

[5] - https://issues.apache.org/jira/browse/KARAF-4794



--

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer
& Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com