-
mysql -h xx -P xx -uroot
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 # fe.warn.log
2021-12-06 03:11:24,032 ERROR (doris-mysql-nio-pool-0|151) [AcceptListener.lambda$handleEvent$1():87] connect processor exception because
java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;
at org.apache.doris.mysql.MysqlChannel.sendOnePacket(MysqlChannel.java:259) ~[palo-fe.jar:3.4.0]
at org.apache.doris.mysql.MysqlChannel.sendAndFlush(MysqlChannel.java:265) ~[palo-fe.jar:3.4.0]
at org.apache.doris.mysql.MysqlProto.negotiate(MysqlProto.java:169) ~[palo-fe.jar:3.4.0]
at org.apache.doris.mysql.nio.AcceptListener.lambda$handleEvent$1(AcceptListener.java:64) ~[palo-fe.jar:3.4.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_202]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_202]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202] build-env: 1.4.2, java version 1.8.0_302 run-env java version 1.8.0.202 需要保持jdk的小版本也要一致吗? 如果需要一致的话 302 在哪里下载找了很久没找到 |
Beta Was this translation helpful? Give feedback.
Answered by
gj-zhang
Dec 6, 2021
Replies: 1 comment
-
已解决。 jdk 小版本也需要一致。 采用的8u202版本重新编译doris |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gj-zhang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已解决。 jdk 小版本也需要一致。 采用的8u202版本重新编译doris