doris icon indicating copy to clipboard operation
doris copied to clipboard

[Bug] be start failed

Open hongli-my opened this issue 10 months ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Version

2.0.7

What's Wrong?

start time: 2024年 03月 29日 星期五 16:55:32 CST INFO: java_cmd /opt/TencentKona-11.0.14.b1/bin/java INFO: jdk_version 11 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/data/doris_code/output/be/lib/java_extensions/preload-extensions/preload-extensions-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/data/doris_code/output/be/lib/java_extensions/java-udf/java-udf-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/data/doris_code/output/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] OpenJDK 64-Bit Server VM warning: You have loaded library /data/doris_code/output/be/lib/hadoop_hdfs/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'. *** Query id: 0-0 *** *** tablet id: 0 *** *** Aborted at 1711702535 (unix time) try "date -d @1711702535" if you are using GNU date *** *** Current BE git commitID: dc065ea *** *** SIGSEGV address not mapped to object (@0x0) received by PID 3561 (TID 4613 OR 0x7efb792f1700) from PID 0; stack trace: *** 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris/be/src/common/signal_handler.h:417 1# os::Linux::chained_handler(int, siginfo*, void*) in /opt/TencentKona-11.0.14.b1/lib/server/libjvm.so 2# JVM_handle_linux_signal in /opt/TencentKona-11.0.14.b1/lib/server/libjvm.so 3# signalHandler(int, siginfo*, void*) in /opt/TencentKona-11.0.14.b1/lib/server/libjvm.so 4# 0x00007EFE843C0280 in /lib64/libc.so.6 5# je_arena_dalloc_promoted at /var/local/doris/thirdparty/src/jemalloc-5.3.0/doris_build/../src/arena.c:1277 6# je_free_default at /var/local/doris/thirdparty/src/jemalloc-5.3.0/doris_build/../src/jemalloc.c:3014 7# __GI__dl_deallocate_tls in /lib64/ld-linux-x86-64.so.2 8# __free_stacks in /lib64/libpthread.so.0 9# __deallocate_stack in /lib64/libpthread.so.0 10# pthread_join in /lib64/libpthread.so.0 11# std::thread::join() at ../../../../../libstdc++-v3/src/c++11/thread.cc:114 12# rocksdb::VersionBuilder::Rep::LoadTableHandlers(rocksdb::InternalStats*, int, bool) in /data/doris_code/output/be/lib/doris_be 13# rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocatorrocksdb::ColumnFamilyDescriptor > const&, bool) in /data/doris_code/output/be/lib/doris_be 14# rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocatorrocksdb::ColumnFamilyDescriptor > const&, bool, bool, bool) in /data/doris_code/output/be/lib/doris_be 15# rocksdb::DBImpl::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocatorrocksdb::ColumnFamilyDescriptor > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocatorrocksdb::ColumnFamilyHandle* >, rocksdb::DB**, bool) in /data/doris_code/output/be/lib/doris_be 16# rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocatorrocksdb::ColumnFamilyDescriptor > const&, std::vector<rocksdb::ColumnFamilyHandle, std::allocatorrocksdb::ColumnFamilyHandle* >*, rocksdb::DB**) in /data/doris_code/output/be/lib/doris_be 17# doris::OlapMeta::init() at /root/doris/be/src/olap/olap_meta.cpp:96 18# doris::DataDir::_init_meta() at /root/doris/be/src/olap/data_dir.cpp:201 19# doris::DataDir::init() at /root/doris/be/src/olap/data_dir.cpp:129 20# std::thread::_State_impl<std::thread::_Invoker<std::tupledoris::StorageEngine::_init_store_map()::$_0 > >::_M_run() at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_thread.h:211 21# execute_native_thread_routine at ../../../../../libstdc++-v3/src/c++11/thread.cc:84 22# start_thread in /lib64/libpthread.so.0 23# __clone in /lib64/libc.so.6

What You Expected?

./build.sh --be --clean ./bin/start_be.sh --daemon

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

hongli-my avatar Mar 29 '24 09:03 hongli-my

Try using JDK8

zy-kkk avatar Apr 01 '24 02:04 zy-kkk

I met same problem, and currently master only support jvm17(env.sh), I don't know how to switch to JDK8.

                echo "The 'JDK_17' environment variable is not set."
                echo "ERROR: The JAVA version is ${java_version}, it must be JDK-17."
                exit 1

me too.

OxalisCu avatar May 14 '24 14:05 OxalisCu