【已解决】2.07版本无法更新到2.10版本

Viewed 103

问题点:更新be的时候无法启动be,看日志像连接不上某个包,提示使用execstack连接,但是execstack命令无法下载,导致无法更新版本。因为是内网使用,在无法安装execstack命令时,还有其他解决办法吗?

3 Answers

明天能远程看看,最上面那个问题的报错的栈,其实是正常的,忽略就行。最下面的这个be.out没起来的,需要看看。

可以发一下更多的信息,比如be的info和out

be.out日志:
start time: Tue Apr 2 17:06:29 CST 2024
INFO: java_cmd /home/jdk8/bin/java
INFO: jdk_version 8
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/apache-doris-2.0.2-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:/opt/apache-doris-2.0.2-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:/opt/apache-doris-2.0.2-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]
start time: Wed Apr 3 10:10:38 CST 2024
INFO: java_cmd /home/jdk8/bin/java
INFO: jdk_version 8
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/apache-doris-2.0.2-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:/opt/apache-doris-2.0.2-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:/opt/apache-doris-2.0.2-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]
[WARNING!] /sys/kernel/mm/transparent_hugepage/enabled: [always] madvise never, Doris not recommend turning on THP, which may cause the BE process to use more memory and cannot be freed in time. Turn off THP: echo madvise | sudo tee /sys/kernel/mm/transparent_hugepage/enabled
*** Query id: 3d507d41d64549b7-be7280bd69a797ad ***
*** tablet id: 0 ***
*** Aborted at 1712110247 (unix time) try "date -d @1712110247" if you are using GNU date ***
*** Current BE git commitID: 91efb6a43d ***
*** SIGSEGV invalid permissions for mapped object (@0x5602a2d49560) received by PID 100592 (TID 101853 OR 0x7f0f0ddbf700) from PID 18446744072146425184; 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# os::Linux::chained_handler(int, siginfo*, void*) in /home/jdk8/jre/lib/amd64/server/libjvm.so
2# JVM_handle_linux_signal in /home/jdk8/jre/lib/amd64/server/libjvm.so
3# signalHandler(int, siginfo*, void*) in /home/jdk8/jre/lib/amd64/server/libjvm.so
4# 0x00007F11AC6D84F0 in /usr/lib64/libc.so.6
5# memcpy at /home/zcp/repo_center/doris_release/doris/be/src/glibc-compatibility/memcpy/memcpy_x86_64.cpp:219
6# doris::vectorized::DataTypeString::deserialize(char const*, doris::vectorized::IColumn*, int) const at /home/zcp/repo_center/doris_release/doris/be/src/vec/data_types/data_type_string.cpp:184
7# doris::vectorized::Block::deserialize(doris::PBlock const&) in /opt/apache-doris-2.0.2-bin-x64/be/lib/doris_be
8# doris::BaseTabletsChannel::add_batch(doris::PTabletWriterAddBlockRequest const&, doris::PTabletWriterAddBlockResult*) at /home/zcp/repo_center/doris_release/doris/be/src/runtime/tablets_channel.cpp:526
9# doris::LoadChannel::add_batch(doris::PTabletWriterAddBlockRequest const&, doris::PTabletWriterAddBlockResult*) at /home/zcp/repo_center/doris_release/doris/be/src/runtime/load_channel.cpp:143
10# doris::LoadChannelMgr::add_batch(doris::PTabletWriterAddBlockRequest const&, doris::PTabletWriterAddBlockResult*) at /home/zcp/repo_center/doris_release/doris/be/src/runtime/load_channel_mgr.cpp:166
11# std::_Function_handler<void (), doris::PInternalServiceImpl::tablet_writer_add_block(google::protobuf::RpcController*, doris::PTabletWriterAddBlockRequest const*, doris::PTabletWriterAddBlockResult*, google::protobuf::Closure*)::$_0>::_M_invoke(std::_Any_data const&) at /var/local/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
12# doris::WorkThreadPool::work_thread(int) at /home/zcp/repo_center/doris_release/doris/be/src/util/work_thread_pool.hpp:159
13# execute_native_thread_routine at ../../../../../libstdc++-v3/src/c++11/thread.cc:84
14# 0x00007F11AC4E2F1B in /usr/lib64/libpthread.so.0
15# clone in /usr/lib64/libc.so.6

be.info日志:
I20240403 10:10:47.661315 101856 rowset_builder.cpp:253] submit calc delete bitmap task to executor, tablet_id: 1650387, txn_id: 11994714
I20240403 10:10:47.661324 101856 tablet.cpp:3011] skip to construct delete bitmap tablet: 1650387 rowset: 020000000000001f974a5d7895ff514d0250f89cff6695a3
I20240403 10:10:47.661326 101856 tablet.cpp:3260] [Before Commit] construct delete bitmap tablet: 1650387, rowset_ids to add: 0, rowset_ids to del: 0, cur max_version: 346175, transaction_id: 11994714, total rows: 0
I20240403 10:10:47.661331 101856 rowset_builder.cpp:267] Got result of calc delete bitmap task from executor, tablet_id: 1650355, txn_id: 11994714
I20240403 10:10:47.661335 101856 rowset_builder.cpp:267] Got result of calc delete bitmap task from executor, tablet_id: 1650359, txn_id: 11994714
I20240403 10:10:47.661339 101856 rowset_builder.cpp:267] Got result of calc delete bitmap task from executor, tablet_id: 1650363, txn_id: 11994714
I20240403 10:10:47.661343 101856 rowset_builder.cpp:267] Got result of calc delete bitmap task from executor, tablet_id: 1650371, txn_id: 11994714
I20240403 10:10:47.661346 101856 rowset_builder.cpp:267] Got result of calc delete bitmap task from executor, tablet_id: 1650375, txn_id: 11994714
I20240403 10:10:47.661350 101856 rowset_builder.cpp:267] Got result of calc delete bitmap task from executor, tablet_id: 1650379, txn_id: 11994714
I20240403 10:10:47.661355 101856 rowset_builder.cpp:267] Got result of calc delete bitmap task from executor, tablet_id: 1650387, txn_id: 11994714
I20240403 10:10:47.698415 101856 load_channel.cpp:55] load channel removed load_id=07a21b2fd2424496-87ac36ce0b75d2f0, is high priority=0, sender_ip=192.168.1.1, index id: 1650354, total_received_rows: 0, num_rows_filtered: 0
I20240403 10:10:47.757943 102495 task_worker_pool.cpp:328] successfully submit task|type=PUBLISH_VERSION|signature=11994714
I20240403 10:10:47.757997 101826 engine_publish_version_task.cpp:224] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650355, transaction_id=11994714
I20240403 10:10:47.758021 101826 engine_publish_version_task.cpp:224] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650359, transaction_id=11994714
I20240403 10:10:47.758059 101826 engine_publish_version_task.cpp:224] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650363, transaction_id=11994714
I20240403 10:10:47.758067 101826 engine_publish_version_task.cpp:224] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650371, transaction_id=11994714
I20240403 10:10:47.758073 101826 engine_publish_version_task.cpp:224] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650375, transaction_id=11994714
I20240403 10:10:47.758080 101826 engine_publish_version_task.cpp:224] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650379, transaction_id=11994714
I20240403 10:10:47.758087 101826 engine_publish_version_task.cpp:224] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650387, transaction_id=11994714
I20240403 10:10:47.758095 101826 task_worker_pool.cpp:1483] wait for previous publish version task to be done, transaction_id: 11994714
I20240403 10:10:47.758128 101826 engine_publish_version_task.cpp:226] uniq key with merge-on-write version not continuous, missed version=346176, it's transaction_id=-1, current publish version=346192, tablet_id=1650355, transaction_id=11994714
I20240403 10:10:47.788255 101851 tablet_manager.cpp:1004] find expired transactions for 0 tablets
I20240403 10:10:47.788282 101850 data_dir.cpp:880] path: /opt/ad/be total capacity: 2163434504192, available capacity: 2008427360256, usage: 0.0716486, in_use: 1
I20240403 10:10:47.788450 101850 storage_engine.cpp:366] get root path info cost: 0 ms. tablet counter: 145
I20240403 10:10:47.788522 101851 tablet_manager.cpp:1035] success to build all report tablets info. tablet_count=145
I20240403 10:10:47.806644 101728 tablet_meta_manager.cpp:293] remove old version delete bitmap, tablet_id: 8052047 version: 438733 removed keys size: 0
I20240403 10:10:47.811388 101728 compaction.cpp:578] succeed to do cumulative compaction is_vertical=1. tablet=8052047, output_version=[434490-438733], current_max_version=438733, disk=/opt/ad/be, segments=7, input_rowset_size=1069978, output_rowset_size=931402, input_row_num=31538, output_row_num=31538, filtered_row_num=0, merged_row_num=0. elapsed time=0.228743s. cumulative_compaction_policy=size_based, compact_row_per_second=137872
I20240403 10:10:47.811825 101728 compaction.cpp:331] start cumulative compaction. tablet=8052059, output_version=[434730-438733], permits: 10
I20240403 10:10:47.811870 101728 merger.cpp:357] Start to do vertical compaction, tablet_id: 8052059