You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "a805814077 (via GitHub)" <gi...@apache.org> on 2023/07/06 03:25:23 UTC

[GitHub] [doris] a805814077 opened a new issue, #21560: [Bug] BE cannot start after apache-doris-2.0-beta is downloaded and installed

a805814077 opened a new issue, #21560:
URL: https://github.com/apache/doris/issues/21560

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   apache-doris-2.0-beta-bin-x64.tar.gz
   
   ### What's Wrong?
   
   
   [root@1a2896323f08 log]# cat be.out
   start time: Thu Jul  6 03:20:16 UTC 2023
   start time: Thu Jul  6 03:20:29 UTC 2023
   SLF4J: Class path contains multiple SLF4J bindings.
   SLF4J: Found binding in [jar:file:/opt/apache-doris-2.0-beta-bin-x64/be/lib/hadoop_hdfs/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in [jar:file:/opt/apache-doris-2.0-beta-bin-x64/be/lib/java_extensions/jdbc-scanner-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in [jar:file:/opt/apache-doris-2.0-beta-bin-x64/be/lib/java_extensions/java-udf-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in [jar:file:/opt/apache-doris-2.0-beta-bin-x64/be/lib/java_extensions/hudi-scanner-jar-with-dependencies.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 ***
   *** Aborted at 1688613629 (unix time) try "date -d @1688613629" if you are using GNU date ***
   *** Current BE git commitID: afe6bb9 ***
   *** SIGSEGV address not mapped to object (@0x0) received by PID 13260 (TID 13775 OR 0x7fdc99be8700) from PID 0; stack trace: ***
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/src/doris/be/src/common/signal_handler.h:413
    1# os::Linux::chained_handler(int, siginfo_t*, void*) in /usr/lib/jvm/java-11/lib/server/libjvm.so
    2# JVM_handle_linux_signal in /usr/lib/jvm/java-11/lib/server/libjvm.so
    3# signalHandler(int, siginfo_t*, void*) in /usr/lib/jvm/java-11/lib/server/libjvm.so
    4# 0x00007FDE3A9AA400 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 /opt/apache-doris-2.0-beta-bin-x64/be/lib/doris_be
   13# rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool) in /opt/apache-doris-2.0-beta-bi
   n-x64/be/lib/doris_be
   14# rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool) in /opt/apache-doris-2.0
   -beta-bin-x64/be/lib/doris_be
   15# rocksdb::DBImpl::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamily
   Descriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**
   , bool) in /opt/apache-doris-2.0-beta-bin-x64/be/lib/doris_be
   16# rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDesc
   riptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**) in
    /opt/apache-doris-2.0-beta-bin-x64/be/lib/doris_be
   17# doris::OlapMeta::init() at /root/src/doris/be/src/olap/olap_meta.cpp:85
   18# doris::DataDir::_init_meta() at /root/src/doris/be/src/olap/data_dir.cpp:197
   19# doris::DataDir::init() at /root/src/doris/be/src/olap/data_dir.cpp:125
   20# std::thread::_State_impl<std::thread::_Invoker<std::tuple<doris::StorageEngine::_init_store_map()::$_0> > >::_M_run() at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-li
   nux-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?
   
   When installing according to the steps of https://doris.apache.org/zh-CN/docs/dev/get-starting/, it should be able to start normally
   
   ### How to Reproduce?
   
   some commands I installed when I followed official document:
   
   docker run -d -it --name=doris-env \
   -p 9030:9030 -p 8030:8030 \
   --ulimit nofile=2000000:2000000 \
   apache/doris:build-env-for-1.1.0 \
   /bin/bash
   
   docker cp D:/Dev/doris/apache-doris-2.0-beta-bin-x64.tar.gz doris-env:/opt
   
   docker exec -it doris-env bash
   cd /opt
   tar -xzvf apache-doris-2.0-beta-bin-x64.tar.gz
   hostname -i
   cd /opt/apache-doris-2.0-beta-bin-x64/fe
   vi conf/fe.conf
   ./bin/start_fe.sh --daemon
   curl http://127.0.0.1:8030/api/bootstrap
   http://localhost:8030
   
   docker cp D:/Dev/doris/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz doris-env:/opt
   tar -xzvf mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz
   bin/mysql -uroot -P9030 -h127.0.0.1 --skip-ssl
   
   cd /opt/apache-doris-2.0-beta-bin-x64/be
   vi conf/be.conf
   
   
   vi bin/start_be.sh
   export JAVA_HOME=/usr/lib/jvm/java-11
   
   
   sudo sysctl -w vm.max_map_count=2000000
   ./bin/start_be.sh --daemon 
   ALTER SYSTEM ADD BACKEND "172.17.0.2:9050";
   
   
   
   ### Anything Else?
   
   I need to install and use the latest version of doris, please reply me as soon as possible
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] vinlee19 commented on issue #21560: [Bug] BE cannot start after apache-doris-2.0-beta is downloaded and installed

Posted by "vinlee19 (via GitHub)" <gi...@apache.org>.
vinlee19 commented on issue #21560:
URL: https://github.com/apache/doris/issues/21560#issuecomment-1633774906

   Please change the java version to 1.8


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] a805814077 commented on issue #21560: [Bug] BE cannot start after apache-doris-2.0-beta is downloaded and installed

Posted by "a805814077 (via GitHub)" <gi...@apache.org>.
a805814077 commented on issue #21560:
URL: https://github.com/apache/doris/issues/21560#issuecomment-1633835427

   It works for me now after I changed start_be.sh JAVA_HOME to jdk8, thanks very much😄.
   
   But why it can't suppot docker doris image's defult jdk11.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] tudouzhao commented on issue #21560: [Bug] BE cannot start after apache-doris-2.0-beta is downloaded and installed

Posted by "tudouzhao (via GitHub)" <gi...@apache.org>.
tudouzhao commented on issue #21560:
URL: https://github.com/apache/doris/issues/21560#issuecomment-1656768686

   java版本应该向前兼容,为何java 11 不行呢?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org