当前位置:   article > 正文

Elasticsearch6.4专题之杂记:遇到的异常与解决方案2_fatal error on the network layer

fatal error on the network layer

11、lucene.util.BytesRefHash$MaxBytesLengthExceededException: bytes can be at most 32766 in length; got 56965
解决方案
设置keyword字段的ignore_above为32765

12、[ERROR][o.e.a.b.TransportBulkAction] [node-1] failed to execute pipeline for a bulk request
org.elasticsearch.common.util.concurrent.EsRejectedExecutionException: rejected execution of org.elasticsearch.ingest.PipelineExecutionService$1@595ce9cf on EsThreadPoolExecutor[name = node-1/write, qu
eue capacity = 200, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@265961ac[Running, pool size = 15, active threads = 15, queued tasks = 200, completed tasks = 15649647]]
数据提交的速度太快,而elastic search索引(落盘)不过来。
解决方案:
调整线程池大小

13、node validation exception
[1] bootstrap checks failed
[1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
系统空间不足导致

14、[ERROR][o.e.t.n.Netty4Utils ] fatal error on the network layer
[2020-01-30T12:49:26,680][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-1] fatal error in thread [Thread-229
0595], exiting
java.lang.OutOfMemoryError: Java heap space
内存不足
解决方案:分几种情况
1、如果每个索引的数据量不大,同时设置和数据量不匹配的分片(分片数过多),每一个分片都是一个独立且完整的lucene索引,所以需要调整索引的分片数,减少索引的分片数
2、如果内存充足的情况下增加内存,或者扩展集群
3、上述都无法操作时,可以适当关闭一些时间比较久远的索引,减少内存占用。

15、unable to load JNA native support library, native methods wi
ll be disabled.
java.lang.UnsatisfiedLinkError: Failed to create temporary file for /com/sun/jna/linux-x86-64/libjnidispatch.so library:
No space left on device
系统空间不足导致

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/136294
推荐阅读
相关标签
  

闽ICP备14008679号