加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

elasticsearch报错org.elasticsearch.indices.IndexCreationException

(2016-01-12 12:02:54)
[2016-01-12 12:00:29,108][INFO ][ik-analyzer              ] [Dict Loading]ik/custom/langwen-english.dic
[2016-01-12 12:00:29,364][WARN ][indices.cluster          ] [es_node_1] [[mytest][4]] marking and sending shard failed due to [failed to create index]
org.elasticsearch.indices.IndexCreationException: [mytest] failed to create index
at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:338)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:313)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:182)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:480)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:204)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:167)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.StackOverflowError
at java.util.ComparableTimSort.sort(ComparableTimSort.java:150)
at java.util.Arrays.sort(Arrays.java:537)
at org.wltea.analyzer.dic.DictSegment.lookforSegment(DictSegment.java:242)
at org.wltea.analyzer.dic.DictSegment.fillSegment(DictSegment.java:199)
报这个错误是因为词库解析错误造成的,建议删除最后一个加载的dic词库文件
langwen-english.dic

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有