Elasticsearch6.4专题之杂记:遇到的异常与解决方案2

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
系统空间不足导致

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

风吹千里

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值