# Yet another "WARNING: Message not fully read" thread

**URL:** <https://discuss.elastic.co/t/yet-another-warning-message-not-fully-read-thread/16499>\
**Category:** Elasticsearch\
**Created:** [March 20, 2014, 2:37pm UTC](https://discuss.elastic.co/t/yet-another-warning-message-not-fully-read-thread/16499 "2014-03-20T14:37:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tufi](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tufi](https://discuss.elastic.co/u/tufi)\
**Post date:** [March 20, 2014, 2:37pm UTC](https://discuss.elastic.co/t/yet-another-warning-message-not-fully-read-thread/16499/1 "2014-03-20T14:37:37Z")

</div>

Hi,

also I am getting the warning "Message not fully read" from one of my ES  
Nodes.  
I certainly googled a lot and found out that, different versions of JVM as  
well as different versions of ES server and clients can cause this.

Well, I'm pretty sure, I have the same versions everywhere.

My use case:  
Programming a multi-thread java-app to import about 30G data out of approx.  
1000 csv files to Elasticsearch. I use transport client for that, to send  
bulkImport requests with \<10.000 bulk objects for each request.

ES Cluster:  
\*1 Master: \*4 Cores + 16 GB RAM  
Overwritten properties in elasticsearch.yml

cluster.name: $CLUSTERNAME  
node.name: $NODENAME  
node.master: true  
#node.data: false  
node.max\_local\_storage\_nodes: 1  
index.number\_of\_shards: 8 # 4 x $numberOfNodes since I have 2 data nodes 8  
index.number\_of\_replicas: 1

Versions:

$bin/elasticsearch -v  
Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25

_1st Slave_: 4 Cores + 16 GB RAM  
Overwritten properties in elasticsearch.yml

cluster.name: $CLUSTERNAME  
node.name: $NODENAME  
node.master: false

node.max\_local\_storage\_nodes: 1

# thread pool

threadpool.bulk.queue\_size: -1

path.data: /opt/elasticsearch/data  
path.plugins: /opt/elasticsearch/plugins  
path.conf: /opt/elasticsearch/config

Versions:  
$bin/elasticsearch -v  
Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25

_2nd Slave_: 4 Cores + 16 GB RAM  
Overwritten properties in elasticsearch.yml

cluster.name: $CLUSTERNAME  
node.name: $NODENAME  
node.master: false

node.max\_local\_storage\_nodes: 1

# thread pool

threadpool.bulk.queue\_size: -1

path.data: /opt/elasticsearch/data  
path.plugins: /opt/elasticsearch/plugins  
path.conf: /opt/elasticsearch/config

Versions:  
$bin/elasticsearch -v  
Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25

\*My Client: \*4 Cores + 16 GB RAM  
pom.xml  
  
\<es.version\>1.0.0\</es.version\>  
  
  
  
org.elasticsearch  
elasticsearch  
${es.version}

Maven: org.elasticsearch:elasticsearch:1.0.0  
is indeed under libs/ :

elasticsearch-1.0.0.jar

Java Code to initialize the transport client:

```
    XMLConfiguration config = ConfigLoader.getInstance().getConfig();
    config.setExpressionEngine(new XPathExpressionEngine());
    HierarchicalConfiguration hConf = config.configurationAt(

```

"/database/es/node[@master='true']");

```
    String clusterName = hConf.getString("clusterName");
    String url = hConf.getString("url");
    int port = hConf.getInt("port/transport");

    System.out.println("clusterName = " + clusterName);
    Settings settings = ImmutableSettings.settingsBuilder()
            .put("cluster.name", clusterName).build();
    client = new TransportClient(settings).addTransportAddress(
            new InetSocketTransportAddress(url, port));

```

Last but not least; java version on App-Runner:

System.out.println(System.getProperty("java.version"));

1.7.0\_25

Is there anything else, which I can check for getting rid of these  
warnings?  
What exactly does this warning mean? Do I lose data?

Since I'm new to ES; do I have to set the ES config values _node.max\_local\_storage\_nodes,  
index.number\_of\_shards, index.number\_of\_replicas_ also in the slave  
configs?

Would you need additional information?

Thank you very much for your help.

Tufi.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [March 20, 2014, 7:28pm UTC](https://discuss.elastic.co/t/yet-another-warning-message-not-fully-read-thread/16499/2 "2014-03-20T19:28:55Z")

</div>

Thanks for the very commendable description.

Do you have also a full stack trace of the "Message not fully read"  
exception? Is it happening in the client?

Do you use any plugins?

Jörg

On Thu, Mar 20, 2014 at 3:37 PM, tufi [tufan.oezduman@yoc.com](mailto:tufan.oezduman@yoc.com) wrote:

> Hi,
> 
> also I am getting the warning "Message not fully read" from one of my ES  
> Nodes.  
> I certainly googled a lot and found out that, different versions of JVM as  
> well as different versions of ES server and clients can cause this.
> 
> Well, I'm pretty sure, I have the same versions everywhere.
> 
> My use case:  
> Programming a multi-thread java-app to import about 30G data out of  
> approx. 1000 csv files to Elasticsearch. I use transport client for that,  
> to send bulkImport requests with \<10.000 bulk objects for each request.
> 
> ES Cluster:  
> \*1 Master: \*4 Cores + 16 GB RAM  
> Overwritten properties in elasticsearch.yml
> 
> cluster.name: $CLUSTERNAME  
> node.name: $NODENAME  
> node.master: true  
> #node.data: false  
> node.max\_local\_storage\_nodes: 1  
> index.number\_of\_shards: 8 # 4 x $numberOfNodes since I have 2 data nodes 8  
> index.number\_of\_replicas: 1
> 
> Versions:
> 
> $bin/elasticsearch -v  
> Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25
> 
> _1st Slave_: 4 Cores + 16 GB RAM  
> Overwritten properties in elasticsearch.yml
> 
> cluster.name: $CLUSTERNAME  
> node.name: $NODENAME  
> node.master: false
> 
> node.max\_local\_storage\_nodes: 1
> 
> # thread pool
> 
> threadpool.bulk.queue\_size: -1
> 
> path.data: /opt/elasticsearch/data  
> path.plugins: /opt/elasticsearch/plugins  
> path.conf: /opt/elasticsearch/config
> 
> Versions:  
> $bin/elasticsearch -v  
> Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25
> 
> _2nd Slave_: 4 Cores + 16 GB RAM  
> Overwritten properties in elasticsearch.yml
> 
> cluster.name: $CLUSTERNAME  
> node.name: $NODENAME  
> node.master: false
> 
> node.max\_local\_storage\_nodes: 1
> 
> # thread pool
> 
> threadpool.bulk.queue\_size: -1
> 
> path.data: /opt/elasticsearch/data  
> path.plugins: /opt/elasticsearch/plugins  
> path.conf: /opt/elasticsearch/config
> 
> Versions:  
> $bin/elasticsearch -v  
> Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25
> 
> \*My Client: \*4 Cores + 16 GB RAM  
> pom.xml  
>   
> \<es.version\>1.0.0\</es.version\>  
>   
>   
>   
> org.elasticsearch  
> elasticsearch  
> ${es.version}
> 
> Maven: org.elasticsearch:elasticsearch:1.0.0  
> is indeed under libs/ :
> 
> elasticsearch-1.0.0.jar
> 
> Java Code to initialize the transport client:
> 
> ```
> XMLConfiguration config = ConfigLoader.getInstance().getConfig();
> config.setExpressionEngine(new XPathExpressionEngine());
> HierarchicalConfiguration hConf = config.configurationAt(
> 
> ```
> 
> "/database/es/node[@master='true']");
> 
> ```
> String clusterName = hConf.getString("clusterName");
> String url = hConf.getString("url");
> int port = hConf.getInt("port/transport");
> 
> System.out.println("clusterName = " + clusterName);
> Settings settings = ImmutableSettings.settingsBuilder()
> .put("cluster.name", clusterName).build();
> client = new TransportClient(settings).addTransportAddress(
> new InetSocketTransportAddress(url, port));
> 
> ```
> 
> Last but not least; java version on App-Runner:
> 
> System.out.println(System.getProperty("java.version"));
> 
> 1.7.0\_25
> 
> Is there anything else, which I can check for getting rid of these  
> warnings?  
> What exactly does this warning mean? Do I lose data?
> 
> Since I'm new to ES; do I have to set the ES config values _node.max\_local\_storage\_nodes,  
> index.number\_of\_shards, index.number\_of\_replicas_ also in the slave  
> configs?
> 
> Would you need additional information?
> 
> Thank you very much for your help.
> 
> Tufi.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoH\_cQvgf3SWM%2BJEPLzEdJoAw8Lfp2c-OEG0mtQKTn5Z-g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoH_cQvgf3SWM%2BJEPLzEdJoAw8Lfp2c-OEG0mtQKTn5Z-g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![tufi](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tufi](https://discuss.elastic.co/u/tufi)\
**Post date:** [March 20, 2014, 9:12pm UTC](https://discuss.elastic.co/t/yet-another-warning-message-not-fully-read-thread/16499/3 "2014-03-20T21:12:39Z")

</div>

Hi Jörg,

yes, more or less... The full warning line is:

Mrz 20, 2014 11:55:11 AM org.elasticsearch.transport.netty  
WARNING: [Stick] Message not fully read (response) for [5507] handler future  
(org.elasticsearch.client.transport.  
TransportClientNodesService$SimpleNodeSampler$1@4893ccd0), error [false],resetting

This is happening in the client.  
I do use elasticsearch-head and HQ plug-ins installed on the master.

Thanks.  
Tufi.

Am Donnerstag, 20. März 2014 20:28:55 UTC+1 schrieb Jörg Prante:

> Thanks for the very commendable description.
> 
> Do you have also a full stack trace of the "Message not fully read"  
> exception? Is it happening in the client?
> 
> Do you use any plugins?
> 
> Jörg
> 
> On Thu, Mar 20, 2014 at 3:37 PM, tufi \<[tufan.o...@yoc.com](mailto:tufan.o...@yoc.com) \<javascript:\>\>wrote:
> 
> > Hi,
> > 
> > also I am getting the warning "Message not fully read" from one of my ES  
> > Nodes.  
> > I certainly googled a lot and found out that, different versions of JVM  
> > as well as different versions of ES server and clients can cause this.
> > 
> > Well, I'm pretty sure, I have the same versions everywhere.
> > 
> > My use case:  
> > Programming a multi-thread java-app to import about 30G data out of  
> > approx. 1000 csv files to Elasticsearch. I use transport client for that,  
> > to send bulkImport requests with \<10.000 bulk objects for each request.
> > 
> > ES Cluster:  
> > \*1 Master: \*4 Cores + 16 GB RAM  
> > Overwritten properties in elasticsearch.yml
> > 
> > cluster.name: $CLUSTERNAME  
> > node.name: $NODENAME  
> > node.master: true  
> > #node.data: false  
> > node.max\_local\_storage\_nodes: 1  
> > index.number\_of\_shards: 8 # 4 x $numberOfNodes since I have 2 data nodes  
> > 8  
> > index.number\_of\_replicas: 1
> > 
> > Versions:
> > 
> > $bin/elasticsearch -v  
> > Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25
> > 
> > _1st Slave_: 4 Cores + 16 GB RAM  
> > Overwritten properties in elasticsearch.yml
> > 
> > cluster.name: $CLUSTERNAME  
> > node.name: $NODENAME  
> > node.master: false
> > 
> > node.max\_local\_storage\_nodes: 1
> > 
> > # thread pool
> > 
> > threadpool.bulk.queue\_size: -1
> > 
> > path.data: /opt/elasticsearch/data  
> > path.plugins: /opt/elasticsearch/plugins  
> > path.conf: /opt/elasticsearch/config
> > 
> > Versions:  
> > $bin/elasticsearch -v  
> > Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25
> > 
> > _2nd Slave_: 4 Cores + 16 GB RAM  
> > Overwritten properties in elasticsearch.yml
> > 
> > cluster.name: $CLUSTERNAME  
> > node.name: $NODENAME  
> > node.master: false
> > 
> > node.max\_local\_storage\_nodes: 1
> > 
> > # thread pool
> > 
> > threadpool.bulk.queue\_size: -1
> > 
> > path.data: /opt/elasticsearch/data  
> > path.plugins: /opt/elasticsearch/plugins  
> > path.conf: /opt/elasticsearch/config
> > 
> > Versions:  
> > $bin/elasticsearch -v  
> > Version: 1.0.0, Build: a46900e/2014-02-12T16:18:34Z, JVM: 1.7.0\_25
> > 
> > \*My Client: \*4 Cores + 16 GB RAM  
> > pom.xml  
> >   
> > \<es.version\>1.0.0\</es.version\>  
> >   
> >   
> >   
> > org.elasticsearch  
> > elasticsearch  
> > ${es.version}
> > 
> > Maven: org.elasticsearch:elasticsearch:1.0.0  
> > is indeed under libs/ :
> > 
> > elasticsearch-1.0.0.jar
> > 
> > Java Code to initialize the transport client:
> > 
> > ```
> > XMLConfiguration config = ConfigLoader.getInstance().getConfig();
> > config.setExpressionEngine(new XPathExpressionEngine());
> > HierarchicalConfiguration hConf = config.configurationAt(
> > 
> > ```
> > 
> > "/database/es/node[@master='true']");
> > 
> > ```
> > String clusterName = hConf.getString("clusterName");
> > String url = hConf.getString("url");
> > int port = hConf.getInt("port/transport");
> > 
> > System.out.println("clusterName = " + clusterName);
> > Settings settings = ImmutableSettings.settingsBuilder()
> > .put("cluster.name", clusterName).build();
> > client = new TransportClient(settings).addTransportAddress(
> > new InetSocketTransportAddress(url, port));
> > 
> > ```
> > 
> > Last but not least; java version on App-Runner:
> > 
> > System.out.println(System.getProperty("java.version"));
> > 
> > 1.7.0\_25
> > 
> > Is there anything else, which I can check for getting rid of these  
> > warnings?  
> > What exactly does this warning mean? Do I lose data?
> > 
> > Since I'm new to ES; do I have to set the ES config values _node.max\_local\_storage\_nodes,  
> > index.number\_of\_shards, index.number\_of\_replicas_ also in the slave  
> > configs?
> > 
> > Would you need additional information?
> > 
> > Thank you very much for your help.
> > 
> > Tufi.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c64630fb-768f-47c8-9225-4d1290580703%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/254d604f-e6eb-4cb6-b592-ccb27575de47%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/254d604f-e6eb-4cb6-b592-ccb27575de47%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![tufi](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tufi](https://discuss.elastic.co/u/tufi)\
**Post date:** [March 24, 2014, 10:21am UTC](https://discuss.elastic.co/t/yet-another-warning-message-not-fully-read-thread/16499/4 "2014-03-24T10:21:10Z")

</div>

...I noticed that, also an update request from ES HQ browser frontend  
causes this warning. So this seems to be an issue of right configuration  
parameters?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7baaec6f-3549-4d71-a625-bf60b2a228d2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7baaec6f-3549-4d71-a625-bf60b2a228d2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:41am UTC](https://discuss.elastic.co/t/yet-another-warning-message-not-fully-read-thread/16499/5 "2017-07-06T01:41:11Z")

</div>


