# Elasticsearch Apache camel

**URL:** <https://discuss.elastic.co/t/elasticsearch-apache-camel/85381>\
**Category:** Elasticsearch\
**Created:** [May 11, 2017, 11:44am UTC](https://discuss.elastic.co/t/elasticsearch-apache-camel/85381 "2017-05-11T11:44:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nesrine](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@Nesrine](https://discuss.elastic.co/u/Nesrine)\
**Post date:** [May 11, 2017, 11:44am UTC](https://discuss.elastic.co/t/elasticsearch-apache-camel/85381/1 "2017-05-11T11:44:22Z")

</div>

I want to send data to elasticSearch from camel using camel component camel-elasticsearch-2.18.3  
The ElasticSearch version used is 2.4.4 With each run of my application I see that elasticsearch creates a new client node with different name each time:  
2017-05-11 13:32:30.192 INFO 8248 --- [main] org.elasticsearch.node : [Thanos] version[2.4.4], pid[8248], build[fcbb46d/2017-01-03T11:33:16Z]  
2017-05-11 13:32:30.192 INFO 8248 --- [main] org.elasticsearch.node : [Thanos] initializing ...  
2017-05-11 13:32:30.200 INFO 8248 --- [main] org.elasticsearch.plugins : [Thanos] modules [], plugins [], sites []  
2017-05-11 13:32:30.235 INFO 8248 --- [main] org.elasticsearch.env : [Thanos] using [1] data paths, mounts [[/ (/dev/sda6)]], net usable\_space [60.8gb], net total\_space [88.1gb], spins? [possibly], types [ext4]  
2017-05-11 13:32:30.235 INFO 8248 --- [main] org.elasticsearch.env : [Thanos] heap size [1.7gb], compressed ordinary object pointers [true]  
2017-05-11 13:32:32.814 WARN 8248 --- [main] org.elasticsearch.bootstrap : JNA not found. native methods will be disabled.  
and thus it causes errors which are:  
java.lang.NoSuchFieldError: FAIL\_ON\_SYMBOL\_HASH\_OVERFLOW  
at org.elasticsearch.common.xcontent.smile.SmileXContent.(SmileXContent.java:46) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.common.xcontent.XContentFactory.smileBuilder(XContentFactory.java:70) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:108) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.gateway.MetaDataStateFormat.newXContentBuilder(MetaDataStateFormat.java:154) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.gateway.MetaDataStateFormat.write(MetaDataStateFormat.java:116) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.gateway.MetaStateService.writeGlobalState(MetaStateService.java:149) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.gateway.GatewayMetaState.clusterChanged(GatewayMetaState.java:148) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.gateway.Gateway.clusterChanged(Gateway.java:185) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:622) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:784) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194) [elasticsearch-2.4.4.jar:2.4.4]  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0\_121]  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0\_121]  
at java.lang.Thread.run(Thread.java:745) [na:1.8.0\_121]

java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.common.xcontent.json.JsonXContent  
at org.elasticsearch.common.xcontent.XContentType$1.xContent(XContentType.java:52) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.common.xcontent.XContentFactory.xContent(XContentFactory.java:140) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.rest.AbstractRestChannel.newBuilder(AbstractRestChannel.java:69) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.rest.AbstractRestChannel.newErrorBuilder(AbstractRestChannel.java:52) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.http.HttpServer$ResourceHandlingHttpChannel.newErrorBuilder(HttpServer.java:326) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.rest.BytesRestResponse.convert(BytesRestResponse.java:123) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.rest.BytesRestResponse.(BytesRestResponse.java:96) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.rest.BytesRestResponse.(BytesRestResponse.java:87) ~[elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.rest.action.support.RestActionListener.onFailure(RestActionListener.java:60) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.rest.action.support.RestActionListener.onResponse(RestActionListener.java:51) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.action.support.TransportAction$1.onResponse(TransportAction.java:89) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.action.support.TransportAction$1.onResponse(TransportAction.java:85) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction.finishHim(TransportNodesAction.java:221) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction.onOperation(TransportNodesAction.java:196) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction.access$700(TransportNodesAction.java:107) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction$2.handleResponse(TransportNodesAction.java:173) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction$2.handleResponse(TransportNodesAction.java:165) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.transport.TransportService$DirectResponseChannel.processResponse(TransportService.java:838) [elasticsearch-2.4.4.jar:2.4.4]  
at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:822) [elasticsearch-2.4.4.jar:2.4.4]

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 11, 2017, 1:09pm UTC](https://discuss.elastic.co/t/elasticsearch-apache-camel/85381/2 "2017-05-11T13:09:21Z")

</div>

> [@Nesrine](#):
>
> With each run of my application I see that elasticsearch creates a new client node with different name each time

Is that your problem? It's not clear what you are asking here.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 8, 2017, 1:23pm UTC](https://discuss.elastic.co/t/elasticsearch-apache-camel/85381/3 "2017-06-08T13:23:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
