doris2.1.0在jdk21下,可以启动fe,无法启动be

Viewed 41

centos7 x86

adoptium 21.0.1+12-LTS

INFO: java_cmd /opt/jdk-21.0.1+12/bin/java
INFO: jdk_version 21
Picked up JAVA_TOOL_OPTIONS: -Xmx500m
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/doris/apache-doris-2.1.0-bin-x64/be/lib/java_extensions/preload-extensions/preload-extensions-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/doris/apache-doris-2.1.0-bin-x64/be/lib/java_extensions/java-udf/java-udf-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/doris/apache-doris-2.1.0-bin-x64/be/lib/hadoop_hdfs/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
*** Query id: 0-0 ***
*** tablet id: 0 ***
*** Aborted at 1711985086 (unix time) try "date -d @1711985086" if you are using GNU date ***
*** Current BE git commitID: 91efb6a ***
*** SIGSEGV address not mapped to object (@0x0) received by PID 30231 (TID 30275 OR 0x7f00c0dff700) from PID 0; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /home/zcp/repo_center/doris_release/doris/be/src/common/signal_handler.h:417
1# PosixSignals::chained_handler(int, siginfo_t*, void*) [clone .part.0] in /opt/jdk-21.0.1+12/lib/server/libjvm.so
2# JVM_handle_linux_signal in /opt/jdk-21.0.1+12/lib/server/libjvm.so
3# 0x00007F0149B49400 in /lib64/libc.so.6
4# je_arena_dalloc_promoted at ../src/arena.c:1277
5# je_free_default at ../src/jemalloc.c:3014
6# __pthread_create_2_1 in /lib64/libpthread.so.0
7# os::create_thread(Thread*, os::ThreadType, unsigned long) in /opt/jdk-21.0.1+12/lib/server/libjvm.so
8# CompilerThread::CompilerThread(CompileQueue*, CompilerCounters*) in /opt/jdk-21.0.1+12/lib/server/libjvm.so
9# CompileBroker::make_thread(CompileBroker::ThreadType, _jobject*, CompileQueue*, AbstractCompiler*, JavaThread*) [clone .constprop.0] in /opt/jdk-21.0.1+12/lib/server/libjvm.so
10# CompileBroker::possibly_add_compiler_threads(JavaThread*) in /opt/jdk-21.0.1+12/lib/server/libjvm.so
11# CompileBroker::compiler_thread_loop() in /opt/jdk-21.0.1+12/lib/server/libjvm.so
12# JavaThread::thread_main_inner() in /opt/jdk-21.0.1+12/lib/server/libjvm.so
13# Thread::call_run() in /opt/jdk-21.0.1+12/lib/server/libjvm.so
14# thread_native_entry(Thread*) in /opt/jdk-21.0.1+12/lib/server/libjvm.so
15# start_thread in /lib64/libpthread.so.0
16# clone in /lib64/libc.so.6

2 Answers

现在建议使用jdk8启动,后续会对其他版本的jdk支持

2.1使用jdk8启动,3.x和master版本以后会使用jdk17