2017-03-29 7 views
0

私は伸縮性のある保管のジップキンに関する質問があります。 1.1.1.RELEASEに春 - クラウド探偵を更新した後ジーンズとジーンズの伸縮性のある保管(QueryParsingException)

(私たちはBrixton.SR6からCamden.SR4に1.3.8から1.4.4への春ブーツと春の雲を更新しているため)、我々はまた、中にバージョン1.16.2zipkin-storage-elasticsearchzipkin-autoconfigure-storage-elasticsearchを更新zipkinサービスのpom.xml。我々はelasticsearchバージョン2.4.1を使用しています。 我々はサービスを起動するとき、我々は error on zipkin's uiとスタックトレースを取得する:

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is Failed to execute phase [query], all shards failed; shardFailures {[cAMggVueTv67tHV7aykwlg][zipkin-2017-03-29][0]: RemoteTransportException[[Infamnia][172.18.0.20:9300][indices:data/read/search[phase/query]]]; nested: SearchParseException[failed to parse search source [{"size":0,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"should":[{"nested":{"query":{"term":{"annotations.endpoint.serviceName":"xxx"}},"path":"annotations"}},{"nested":{"query":{"term":{"binaryAnnotations.endpoint.serviceName":"xxx"}},"path":"binaryAnnotations"}}]}}}},"aggregations":{"name_agg":{"terms":{"field":"name","size":2147483647,"order":{"_term":"asc"}}}}}]]; nested: QueryParsingException[[nested] nested object under path [annotations] is not of nested type]; }{[cAMggVueTv67tHV7aykwlg][zipkin-2017-03-29][1]: RemoteTransportException[[Infamnia][172.18.0.20:9300][indices:data/read/search[phase/query]]]; nested: SearchParseException[failed to parse search source [{"size":0,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"should":[{"nested":{"query":{"term":{"annotations.endpoint.serviceName":"xxx"}},"path":"annotations"}},{"nested":{"query":{"term":{"binaryAnnotations.endpoint.serviceName":"xxx"}},"path":"binaryAnnotations"}}]}}}},"aggregations":{"name_agg":{"terms":{"field":"name","size":2147483647,"order":{"_term":"asc"}}}}}]]; nested: QueryParsingException[[nested] nested object under path [annotations] is not of nested type]; }{[cAMggVueTv67tHV7aykwlg][zipkin-2017-03-29][2]: RemoteTransportException[[Infamnia][172.18.0.20:9300][indices:data/read/search[phase/query]]]; nested: SearchParseException[failed to parse search source [{"size":0,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"should":[{"nested":{"query":{"term":{"annotations.endpoint.serviceName":"xxx"}},"path":"annotations"}},{"nested":{"query":{"term":{"binaryAnnotations.endpoint.serviceName":"xxx"}},"path":"binaryAnnotations"}}]}}}},"aggregations":{"name_agg":{"terms":{"field":"name","size":2147483647,"order":{"_term":"asc"}}}}}]]; nested: QueryParsingException[[nested] nested object under path [annotations] is not of nested type]; }{[cAMggVueTv67tHV7aykwlg][zipkin-2017-03-29][3]: RemoteTransportException[[Infamnia][172.18.0.20:9300][indices:data/read/search[phase/query]]]; nested: SearchParseException[failed to parse search source [{"size":0,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"should":[{"nested":{"query":{"term":{"annotations.endpoint.serviceName":"xxx"}},"path":"annotations"}},{"nested":{"query":{"term":{"binaryAnnotations.endpoint.serviceName":"xxx"}},"path":"binaryAnnotations"}}]}}}},"aggregations":{"name_agg":{"terms":{"field":"name","size":2147483647,"order":{"_term":"asc"}}}}}]]; nested: QueryParsingException[[nested] nested object under path [annotations] is not of nested type]; }{[cAMggVueTv67tHV7aykwlg][zipkin-2017-03-29][4]: RemoteTransportException[[Infamnia][172.18.0.20:9300][indices:data/read/search[phase/query]]]; nested: SearchParseException[failed to parse search source [{"size":0,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"should":[{"nested":{"query":{"term":{"annotations.endpoint.serviceName":"xxx"}},"path":"annotations"}},{"nested":{"query":{"term":{"binaryAnnotations.endpoint.serviceName":"xxx"}},"path":"binaryAnnotations"}}]}}}},"aggregations":{"name_agg":{"terms":{"field":"name","size":2147483647,"order":{"_term":"asc"}}}}}]]; nested: QueryParsingException[[nested] nested object under path [annotations] is not of nested type]; }] with root cause  


org.elasticsearch.index.query.QueryParsingException: [nested] nested object under path [annotations] is not of nested type 
at org.elasticsearch.index.query.support.NestedInnerQueryParseSupport.setPath(NestedInnerQueryParseSupport.java:162) 
at org.elasticsearch.index.query.NestedQueryParser.parse(NestedQueryParser.java:82) 
at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250) 
at org.elasticsearch.index.query.BoolQueryParser.parse(BoolQueryParser.java:120) 
at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250) 
at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:263) 
at org.elasticsearch.index.query.BoolQueryParser.parse(BoolQueryParser.java:91) 
at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250) 
at org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:320) 
at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:223) 
at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:218) 
at org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33) 
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:856) 
at org.elasticsearch.search.SearchService.createContext(SearchService.java:667) 
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:633) 
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:377) 
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368) 
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365) 
at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33) 
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:77) 
at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376) 
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:745) 

Zipkinは、ばねクラウド探偵1.0.0.RELEASE、zipkin-ストレージelasticsearch、zipkin-自動構成・ストレージ・elasticsearch 1.7.0とelasticsearchで働いていました2.3.5。私はここで何が欠けていますか?どのバージョンが一緒に機能するのですか?

答えて

0

通常、Spring Bootのelasticsearchライブラリのバージョンと競合しないように、zipkinのhttpバリアントのElasticsearchを使用する方が良いです。

私は(現在は1.21.0春ブート1.4.xのである)最新のzipkinのグループIDのすべてを設定し、zipkin-自動構成・ストレージ・elasticsearch-HTTP(プラス..あなたはwill be droppedを使用している1)

を使用します

あなたのesホストがurl構文で指定されていることを確認してください。 http://host1:9200

+0

ありがとう、アドリアン、それは正常に働いた。 – fgk

関連する問題