Message not fully read for "analyze"


(melix) #1

Hi,

I'm using the following code to send an analyze query :

| final IndicesAdminClient indices = client.admin().indices();
final AnalyzeRequestBuilder analyzeRequestBuilder =
indices.prepareAnalyze(index, text);
analyzeRequestBuilder.field(field);
final AnalyzeResponse analyzeResponse =
analyzeRequestBuilder.execute().actionGet();|

It works, but my log files are full of those warnings :

|WARN : org.elasticsearch.transport.netty - [Shola Inkosi] Message not
fully read (response) for [602] handler
org.elasticsearch.client.transport.action.support.BaseClientTransportAction$1@1091857,
error [false], resetting
|
I'm using ElasticSearch 0.17.0 on both client and server side. Any idea
of what could cause this ?

Thanks,

Cédric


(Shay Banon) #2

Are you sure you are using 0.17 on both client and server? This is explained
by different versions used...

On Tue, Jul 19, 2011 at 2:57 PM, Cédric Champeau <
cedric.champeau@lingway.com> wrote:

**
Hi,

I'm using the following code to send an analyze query :

    final IndicesAdminClient indices = client.admin().indices();
    final AnalyzeRequestBuilder analyzeRequestBuilder =

indices.prepareAnalyze(index, text);
analyzeRequestBuilder.field(field);
final AnalyzeResponse analyzeResponse =
analyzeRequestBuilder.execute().actionGet();

It works, but my log files are full of those warnings :

WARN : org.elasticsearch.transport.netty - [Shola Inkosi] Message not fully
read (response) for [602] handler
org.elasticsearch.client.transport.action.support.BaseClientTransportAction$1@1091857,
error [false], resetting

I'm using ElasticSearch 0.17.0 on both client and server side. Any idea of
what could cause this ?

Thanks,

Cédric


(melix) #3

Yes, I'm totally sure : I have only one node plus a transport client. I
reverted back to 0.16.4 (on both sides) and I have the same behaviour,
so this doesn't look like a regression in 0.17.0. I only have this error
message for analyze queries.

Le 19/07/2011 23:21, Shay Banon a écrit :

Are you sure you are using 0.17 on both client and server? This is
explained by different versions used...

On Tue, Jul 19, 2011 at 2:57 PM, Cédric Champeau
<cedric.champeau@lingway.com mailto:cedric.champeau@lingway.com> wrote:

Hi,

I'm using the following code to send an analyze query :

|        final IndicesAdminClient indices = client.admin().indices();
        final AnalyzeRequestBuilder analyzeRequestBuilder =
indices.prepareAnalyze(index, text);
        analyzeRequestBuilder.field(field);
        final AnalyzeResponse analyzeResponse =
analyzeRequestBuilder.execute().actionGet();|

It works, but my log files are full of those warnings :

|WARN : org.elasticsearch.transport.netty - [Shola Inkosi] Message
not fully read (response) for [602] handler
org.elasticsearch.client.transport.action.support.BaseClientTransportAction$1@1091857,
error [false], resetting
|
I'm using ElasticSearch 0.17.0 on both client and server side. Any
idea of what could cause this ?

Thanks,

Cédric

(Shay Banon) #4

ok, foudn the problem and opened an issue:
https://github.com/elasticsearch/elasticsearch/issues/1138.

On Wed, Jul 20, 2011 at 10:18 AM, Cédric Champeau <
cedric.champeau@lingway.com> wrote:

**
Yes, I'm totally sure : I have only one node plus a transport client. I
reverted back to 0.16.4 (on both sides) and I have the same behaviour, so
this doesn't look like a regression in 0.17.0. I only have this error
message for analyze queries.

Le 19/07/2011 23:21, Shay Banon a écrit :

Are you sure you are using 0.17 on both client and server? This is
explained by different versions used...

On Tue, Jul 19, 2011 at 2:57 PM, Cédric Champeau <
cedric.champeau@lingway.com> wrote:

Hi,

I'm using the following code to send an analyze query :

    final IndicesAdminClient indices = client.admin().indices();
    final AnalyzeRequestBuilder analyzeRequestBuilder =

indices.prepareAnalyze(index, text);
analyzeRequestBuilder.field(field);
final AnalyzeResponse analyzeResponse =
analyzeRequestBuilder.execute().actionGet();

It works, but my log files are full of those warnings :

WARN : org.elasticsearch.transport.netty - [Shola Inkosi] Message not
fully read (response) for [602] handler
org.elasticsearch.client.transport.action.support.BaseClientTransportAction$1@1091857,
error [false], resetting

I'm using ElasticSearch 0.17.0 on both client and server side. Any idea of
what could cause this ?

Thanks,

Cédric


(system) #5