"Failed to derive xcontent" when submitting queries in smile format over port 9200


(John Ohno) #1

My response looks like:

{"error":"SearchPhaseExecutionException[Failed to execute phase [query],
all shards failed; shardFailures {[pb-DdzK0S9uOU6yh9kg3zQ][trial][6]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][6]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][trial][7]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[trial][7]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][wo][7]: SearchParseException[[wo][7]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][wo][6]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[wo][6]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][wo][5]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[wo][5]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][wo][4]: SearchParseException[[wo][4]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][wo][3]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[wo][3]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][wo][2]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[wo][2]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][wo][1]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[wo][1]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][wo][0]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[wo][0]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][t3][2]: SearchParseException[[t3][2]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][t3][1]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[t3][1]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][t3][0]: SearchParseException[[t3][0]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][6]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][6]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][5]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][5]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][4]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][4]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][t3][3]: SearchParseException[[t3][3]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][trial][5]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][5]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][trial][4]: SearchParseException[[trial][4]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][trial][3]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][3]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][trial][2]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[trial][2]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][7]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][7]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][trial][1]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[trial][1]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][trial][0]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][0]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested

etc...

The hex dump of the smile looks like:
0000000 : ) \n 003 372 204 q u e r y 372 203 b o o
0000020 l 372 205 s h o u l d 370 372 204 r a n g
0000040 e 372 201 D P 372 201 g t $ % z 3 200 201 l
0000060 t $ 001 > ^ \a 276 373 373 373 372 C 372 D 372 F
0000100 $ % a ~ 200 373 373 373 371 373 373 373

The original query (reconstructed with jackson's smiletool) looks like:
{"query":{"bool":{"should":[{"range":{"DP":{"gt":19900000,"lt":99999999}}},{"range":{"DP":{"lt":19800000}}}]}}}

Is the elastic version of smile incompatible with jackson's trunk? Am I not
supposed to submit to the default port?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4bbf0eca-5b20-4300-840a-6672dc92285a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #2

Hey,

can you provide a fully self contained example to reproduce (including
starting with an empty elasticsearch instance, and also put stacktraces
from the log files into your report?)? That would help a lot! See
http://www.elasticsearch.org/help

Thanks!

--Alex

On Tue, Mar 4, 2014 at 10:29 PM, John Ohno john.ohno@gmail.com wrote:

My response looks like:

{"error":"SearchPhaseExecutionException[Failed to execute phase [query],
all shards failed; shardFailures {[pb-DdzK0S9uOU6yh9kg3zQ][trial][6]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][6]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][trial][7]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[trial][7]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][wo][7]: SearchParseException[[wo][7]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][wo][6]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[wo][6]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][wo][5]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[wo][5]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][wo][4]: SearchParseException[[wo][4]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][wo][3]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[wo][3]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][wo][2]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[wo][2]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][wo][1]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[wo][1]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][wo][0]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[wo][0]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][t3][2]: SearchParseException[[t3][2]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][t3][1]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[t3][1]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][t3][0]: SearchParseException[[t3][0]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][6]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][6]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][5]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][5]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][4]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][4]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][t3][3]: SearchParseException[[t3][3]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][trial][5]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][5]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[4TvvMmopRMCoaYpgiKUrFg][trial][4]: SearchParseException[[trial][4]:
from[-1],size[-1]: Parse Failure [Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][trial][3]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][3]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][trial][2]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[trial][2]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][t3][7]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[t3][7]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[LQVyNc-FTpqh9nPFO5xMow][trial][1]:
RemoteTransportException[[IP_POC_NODE2][inet[/10.226.22.14:9700]][search/phase/query]];
nested: SearchParseException[[trial][1]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested:
ElasticSearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.ChannelBufferBytesReference@70e9c201];
}{[pb-DdzK0S9uOU6yh9kg3zQ][trial][0]:
RemoteTransportException[[IP_POC_NODE1][inet[/10.226.22.13:9700]][search/phase/query]];
nested: SearchParseException[[trial][0]: from[-1],size[-1]: Parse Failure
[Failed to parse source [na]]]; nested

etc...

The hex dump of the smile looks like:
0000000 : ) \n 003 372 204 q u e r y 372 203 b o o
0000020 l 372 205 s h o u l d 370 372 204 r a n g
0000040 e 372 201 D P 372 201 g t $ % z 3 200 201 l
0000060 t $ 001 > ^ \a 276 373 373 373 372 C 372 D 372 F
0000100 $ % a ~ 200 373 373 373 371 373 373 373

The original query (reconstructed with jackson's smiletool) looks like:

{"query":{"bool":{"should":[{"range":{"DP":{"gt":19900000,"lt":99999999}}},{"range":{"DP":{"lt":19800000}}}]}}}

Is the elastic version of smile incompatible with jackson's trunk? Am I
not supposed to submit to the default port?

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/4bbf0eca-5b20-4300-840a-6672dc92285a%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/4bbf0eca-5b20-4300-840a-6672dc92285a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_wiP2JSjgZp-BVEyDdDLAaY2agDTWFw3h%3D7%2B%2BKkF6BBg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3