elasticsearch和kibana,问题汇总,持续更新。
程序员文章站
2022-07-06 10:51:25
...
1.kibana查询出现Courier Fetch: 2 of 4 shards failed
在kibana查hrda数据得时候,页面提示Courier Fetch: 2 of 4 shards failed。
解决办法: 更新mapping,
PUT hrda_*/_mapping/doc
{"properties": {
"parameters.createTimeStart": {
"type": "text",
"fielddata": true
}
}
}
2.kibana查询出现异常,解决办法同一,修改mapping。
Caused by: org.elasticsearch.ElasticsearchException: java.util.concurrent.ExecutionException: CircuitBreakingException[[fielddata] Data too large, data for [_id] would be [625312770/596.3mb], which is larger than the limit of [622775500/593.9mb]]
at org.elasticsearch.index.fielddata.plain.AbstractIndexFieldData.load(AbstractIndexFieldData.java:74) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.mapper.IdFieldMapper$IdFieldType$1$1.load(IdFieldMapper.java:187) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource.getValues(BytesRefFieldComparatorSource.java:71) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource$2.getBinaryDocValues(BytesRefFieldComparatorSource.java:115) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.FieldComparator$TermValComparator.getLeafComparator(FieldComparator.java:888) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.FieldValueHitQueue.getComparators(FieldValueHitQueue.java:180) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.TopFieldCollector$SimpleFieldCollector.getLeafCollector(TopFieldCollector.java:100) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.MultiCollector.getLeafCollector(MultiCollector.java:121) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:40) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.CancellableCollector.getLeafCollector(CancellableCollector.java:51) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:649) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:186) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:272) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:279) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:312) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:288) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:284) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$3.doRun(SearchService.java:964) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-6.0.0.jar:6.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_191]
at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_191]
Caused by: java.util.concurrent.ExecutionException: CircuitBreakingException[[fielddata] Data too large, data for [_id] would be [625312770/596.3mb], which is larger than the limit of [622775500/593.9mb]]
at org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:415) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.load(IndicesFieldDataCache.java:136) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.plain.AbstractIndexFieldData.load(AbstractIndexFieldData.java:68) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.mapper.IdFieldMapper$IdFieldType$1$1.load(IdFieldMapper.java:187) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource.getValues(BytesRefFieldComparatorSource.java:71) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource$2.getBinaryDocValues(BytesRefFieldComparatorSource.java:115) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.FieldComparator$TermValComparator.getLeafComparator(FieldComparator.java:888) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.FieldValueHitQueue.getComparators(FieldValueHitQueue.java:180) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.TopFieldCollector$SimpleFieldCollector.getLeafCollector(TopFieldCollector.java:100) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.MultiCollector.getLeafCollector(MultiCollector.java:121) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:40) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.CancellableCollector.getLeafCollector(CancellableCollector.java:51) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:649) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:186) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:272) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:279) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:312) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:288) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:284) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$3.doRun(SearchService.java:964) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-6.0.0.jar:6.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_191]
at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_191]
Caused by: org.elasticsearch.common.breaker.CircuitBreakingException: [fielddata] Data too large, data for [_id] would be [625312770/596.3mb], which is larger than the limit of [622775500/593.9mb]
at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.circuitBreak(ChildMemoryCircuitBreaker.java:98) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.limit(ChildMemoryCircuitBreaker.java:170) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:123) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData$PagedBytesEstimator.beforeLoad(PagedBytesIndexFieldData.java:230) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData.loadDirect(PagedBytesIndexFieldData.java:109) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData.loadDirect(PagedBytesIndexFieldData.java:53) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.lambda$load$0(IndicesFieldDataCache.java:139) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:412) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$IndexFieldCache.load(IndicesFieldDataCache.java:136) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.plain.AbstractIndexFieldData.load(AbstractIndexFieldData.java:68) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.mapper.IdFieldMapper$IdFieldType$1$1.load(IdFieldMapper.java:187) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource.getValues(BytesRefFieldComparatorSource.java:71) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource$2.getBinaryDocValues(BytesRefFieldComparatorSource.java:115) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.FieldComparator$TermValComparator.getLeafComparator(FieldComparator.java:888) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.FieldValueHitQueue.getComparators(FieldValueHitQueue.java:180) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.TopFieldCollector$SimpleFieldCollector.getLeafCollector(TopFieldCollector.java:100) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.MultiCollector.getLeafCollector(MultiCollector.java:121) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:40) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.CancellableCollector.getLeafCollector(CancellableCollector.java:51) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:649) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:186) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:272) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:279) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:312) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:288) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:284) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$3.doRun(SearchService.java:964) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-6.0.0.jar:6.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_191]
at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_191]
3.kibana查询出现Visualize: [parent] Data too large, data for [<reused_arrays>] would be [728087307/694.3mb], which is larger than the limit of [726571417/692.9mb],
elasticsearch log日志如下
Caused by: org.elasticsearch.search.query.QueryPhaseExecutionException: Query Failed [Failed to execute main query]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:298) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.lambda$loadIntoContext$14(IndicesService.java:1122) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.lambda$cacheShardLevelResult$15(IndicesService.java:1175) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache$Loader.load(IndicesRequestCache.java:160) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache$Loader.load(IndicesRequestCache.java:143) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:412) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache.getOrCompute(IndicesRequestCache.java:116) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.cacheShardLevelResult(IndicesService.java:1181) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.loadIntoContext(IndicesService.java:1121) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:277) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:312) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:288) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:284) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$3.doRun(SearchService.java:964) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-6.0.0.jar:6.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_191]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
Caused by: org.elasticsearch.common.breaker.CircuitBreakingException: [parent] Data too large, data for [<reused_arrays>] would be [728087307/694.3mb], which is larger than the limit of [726571417/692.9mb]
at org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService.checkParentLimit(HierarchyCircuitBreakerService.java:215) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:128) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.adjustBreaker(BigArrays.java:408) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.resizeInPlace(BigArrays.java:448) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.resize(BigArrays.java:630) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.grow(BigArrays.java:648) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.LongHash.append(LongHash.java:84) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.LongHash.set(LongHash.java:74) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.LongHash.add(LongHash.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.aggregations.bucket.terms.LongTermsAggregator$1.collect(LongTermsAggregator.java:88) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.aggregations.LeafBucketCollector.collect(LeafBucketCollector.java:82) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.MultiCollector$MultiLeafCollector.collect(MultiCollector.java:174) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:233) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:184) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:658) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:186) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:272) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.lambda$loadIntoContext$14(IndicesService.java:1122) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.lambda$cacheShardLevelResult$15(IndicesService.java:1175) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache$Loader.load(IndicesRequestCache.java:160) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache$Loader.load(IndicesRequestCache.java:143) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:412) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache.getOrCompute(IndicesRequestCache.java:116) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.cacheShardLevelResult(IndicesService.java:1181) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.loadIntoContext(IndicesService.java:1121) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:277) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:312) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:288) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:284) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$3.doRun(SearchService.java:964) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-6.0.0.jar:6.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_191]
at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_191]
[2019-05-31T08:40:01,766][DEBUG][o.e.a.s.TransportSearchAction] [XVM1UPu] All shards failed for phase: [query]
org.elasticsearch.common.breaker.CircuitBreakingException: [parent] Data too large, data for [<reused_arrays>] would be [728087307/694.3mb], which is larger than the limit of [726571417/692.9mb]
at org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService.checkParentLimit(HierarchyCircuitBreakerService.java:215) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:128) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.adjustBreaker(BigArrays.java:408) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.resizeInPlace(BigArrays.java:448) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.resize(BigArrays.java:630) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.BigArrays.grow(BigArrays.java:648) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.LongHash.append(LongHash.java:84) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.LongHash.set(LongHash.java:74) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.LongHash.add(LongHash.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.aggregations.bucket.terms.LongTermsAggregator$1.collect(LongTermsAggregator.java:88) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.aggregations.LeafBucketCollector.collect(LeafBucketCollector.java:82) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.MultiCollector$MultiLeafCollector.collect(MultiCollector.java:174) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:233) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:184) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:658) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:186) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:462) ~[lucene-core-7.0.1.jar:7.0.1 8d6c3889aa543954424d8ac1dbb3f03bf207140b - sarowe - 2017-10-02 14:36:35]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:272) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:110) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.lambda$loadIntoContext$14(IndicesService.java:1122) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.lambda$cacheShardLevelResult$15(IndicesService.java:1175) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache$Loader.load(IndicesRequestCache.java:160) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache$Loader.load(IndicesRequestCache.java:143) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.cache.Cache.computeIfAbsent(Cache.java:412) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesRequestCache.getOrCompute(IndicesRequestCache.java:116) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.cacheShardLevelResult(IndicesService.java:1181) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.indices.IndicesService.loadIntoContext(IndicesService.java:1121) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:277) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:312) ~[elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:288) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:284) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.search.SearchService$3.doRun(SearchService.java:964) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) [elasticsearch-6.0.0.jar:6.0.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-6.0.0.jar:6.0.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_191]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
解决办法:缩小查询时间范围;减少,关闭kibana查询得页面;
elasticsearch6.0性能优化,增加elasticsearch得堆内存 -Xms4g -Xmx4g,
4.kibana页面没有响应
一般是请求得数据太大,数据还没有返回,响应时间过长,
上一篇: MathJax基本语法
下一篇: 202. 线段树的查询
推荐阅读
-
Win10 Mobile预览版15031今日推送:附更新改进和修复、已知问题汇总
-
Win10 Mobile 15215快速预览版今日推送 (附更新、修复和已知问题汇总)
-
Win10 PC创造者更新15042预览版已修复和已知问题汇总
-
Win10创作者更新15025预览版已修复和已知问题汇总
-
Win10 Mobile预览版15031今日推送:附更新改进和修复、已知问题汇总
-
各种前端问题汇总,持续更新中.........
-
elasticsearch和kibana,问题汇总,持续更新。
-
android 使用Yasea和ijkplayer集成到自己项目中遇到的问题和优化(持续更新)
-
Android开发常见问题汇总(持续更新,如有问题,请留言)
-
关于npm警告fsevents和vue-cli项目中的一些问题,持续更新