赞
踩
#启动es报错
uncaught exception in thread [main]
java.lang.IllegalArgumentException: Plugin [jcseg] was built for Elasticsearch version 7.9.0 but version 7.9.2 is running
原因:开发部给的jcseg词库版本是7.9.0,不兼容es7.9.2,更换新的jcseg词库后成功
启动失败后有进程,不过端口确是没有起来,【确定服务是否启动成功还是的看端口】
- 查看进程
- $ ps -aux|grep elasticsearch
- user1 3285 6.9 16.8 4714076 1349976 pts/1 Sl 14:39 0:28 /srv/java//bin/java -Xshare:auto -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dio.netty.allocator.numDirectArenas=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.locale.providers=SPI,JRE -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.io.tmpdir=/tmp/elasticsearch-3044378964220066881 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=data -XX:ErrorFile=logs/hs_err_pid%p.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=32 -XX:GCLogFileSize=64m -XX:MaxDirectMemorySize=536870912 -Des.path.home=/srv/elasticsearch-7.9.2 -Des.path.conf=/srv/elasticsearch-7.9.2/config -Des.distribution.flavor=default -Des.distribution.type=tar -Des.bundled_jdk=true -cp /srv/elasticsearch-7.9.2/lib/* org.elasticsearch.bootstrap.Elasticsearch
- user1 4191 0.0 0.0 112664 972 pts/2 S+ 14:46 0:00 grep --color=auto elasticsearch
- user1 3447 0.0 0.0 46084 4408 pts/1 Sl 14:39 0:00 /srv/elasticsearch-7.9.2/modules/x-pack-ml/platform/linux-x86_64/bin/controller
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。