Issue with elasticsearch bundles

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with elasticsearch bundles

smanish
Following two bundle are there to work with elasticsearch 5.x database.But both bundle seems not usable due to following issue.

1 . Elasticsearch-Bundle
http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/5.4.3_1 

2. Elasticsearch-Client Bundle
https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch-client/5.4.3_1 

In order to work with elasticsearch 5 you need TransportClient as mentioned
in
https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/transport-client.html 
which is available in Elasticsearch bundle

To get the TransportClient for first step you need to use
PreBuiltTransportClient which is available in Elasticsearch-Client bundle.

Now the problem is that Elasticsearch-Client which is expected to return
TransportClient does not have it and also not importing it and gives class
not found exception " Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.client.transport.TransportClient not found by
org.apache.servicemix.bundles.elasticsearch-client [127]"

So the question is how it is expected to work?
Reply | Threaded
Open this post in threaded view
|

Re: Issue with elasticsearch bundles

Jean-Baptiste Onofré
Hi,

I gonna fix that: the elasticsearch-client bundle should wrap the transport
package (at least private).

Did you already create a Jira about that ?

Regards
JB

On 08/02/2017 08:26 AM, smanish wrote:

> Following two bundle are there to work with elasticsearch 5.x database.But
> both bundle seems not usable due to following issue.
>
> 1 . Elasticsearch-Bundle
> http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/5.4.3_1
>
> 2. Elasticsearch-Client Bundle
> https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch-client/5.4.3_1
>
> In order to work with elasticsearch 5 you need TransportClient as mentioned
> in
> https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/transport-client.html
> which is available in Elasticsearch bundle
>
> To get the TransportClient for first step you need to use
> PreBuiltTransportClient which is available in Elasticsearch-Client bundle.
>
> Now the problem is that Elasticsearch-Client which is expected to return
> TransportClient does not have it and also not importing it and gives class
> not found exception " Caused by: java.lang.ClassNotFoundException:
> org.elasticsearch.client.transport.TransportClient not found by
> org.apache.servicemix.bundles.elasticsearch-client [127]"
>
> So the question is how it is expected to work?
>
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Issue-with-elasticsearch-bundles-tp5724767.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: Issue with elasticsearch bundles

smanish
Let me know once that get fixed.
I have not reported any jira issue for that. BTW where can I do that?
Reply | Threaded
Open this post in threaded view
|

Re: Issue with elasticsearch bundles

Jean-Baptiste Onofré
Hi,

I created:

https://issues.apache.org/jira/browse/SM-3454

to track this. Stay tuned to know when I will have fixed that.

Thanks !

Regards
JB

On 08/02/2017 12:33 PM, smanish wrote:
> Let me know once that get fixed.
> I have not reported any jira issue for that. BTW where can I do that?
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Issue-with-elasticsearch-bundles-tp5724767p5724769.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com