You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "ksdb1155228 (via GitHub)" <gi...@apache.org> on 2023/12/27 05:30:16 UTC
[I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
ksdb1155228 opened a new issue, #29122:
URL: https://github.com/apache/doris/issues/29122
### 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
2.0.3
### What's Wrong?
2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错
备注(FE也有冲突问题,但是FE能启动,BE则无法启动)
start time: Wed Dec 27 13:14:55 CST 2023
INFO: java_cmd /opt/jdk1.8.0_211/bin/java
INFO: jdk_version 8
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/apache-doris-2.0.3-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.3-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.3-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.
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:282)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:200)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:166)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:284)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:160)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:100)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:802)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:738)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:630)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:577)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:504)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:119)
at org.slf4j.impl.Reload4jLoggerFactory.<init>(Reload4jLoggerFactory.java:67)
at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:72)
at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:45)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:657)
at org.apache.hadoop.fs.FileSystem.<clinit>(FileSystem.java:186)
SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
F1227 13:14:56.786144 28174 backend_options.cpp:108] wrong cidr format. cidr_str=
*** Check failure stack trace: ***
@ 0x561201b00219 google::LogMessageFatal::~LogMessageFatal()
@ 0x5611fa257eea doris::BackendOptions::analyze_priority_cidrs()
@ 0x5611fa2579ae doris::BackendOptions::init()
@ 0x5611f9770769 main
@ 0x7f20d9800c87 __libc_start_main
@ 0x5611f976f02a _start
@ (nil) (unknown)
*** Query id: 0-0 ***
*** tablet id: 0 ***
*** Aborted at 1703654096 (unix time) try "date -d @1703654096" if you are using GNU date ***
*** Current BE git commitID: 37d31a5 ***
*** SIGABRT unknown detail explain (@0x6e0e) received by PID 28174 (TID 28174 OR 0x7f20da207e00) from PID 28174; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/src/doris-2.0/be/src/common/signal_handler.h:417
1# 0x00007F20D981DF10 in /lib/x86_64-linux-gnu/libc.so.6
2# raise in /lib/x86_64-linux-gnu/libc.so.6
3# abort in /lib/x86_64-linux-gnu/libc.so.6
4# 0x0000561201B061F9 in /opt/apache-doris-2.0.3-bin-x64/be/lib/doris_be
5# google::LogMessage::SendToLog() in /opt/apache-doris-2.0.3-bin-x64/be/lib/doris_be
6# google::LogMessage::Flush() in /opt/apache-doris-2.0.3-bin-x64/be/lib/doris_be
7# google::LogMessageFatal::~LogMessageFatal() in /opt/apache-doris-2.0.3-bin-x64/be/lib/doris_be
8# doris::BackendOptions::analyze_priority_cidrs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<doris::CIDR, std::allocator<doris::CIDR> >*) at /root/src/doris-2.0/be/src/service/backend_options.cpp:111
9# doris::BackendOptions::init() at /root/src/doris-2.0/be/src/service/backend_options.cpp:44
10# main at /root/src/doris-2.0/be/src/service/doris_main.cpp:458
11# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
12# _start in /opt/apache-doris-2.0.3-bin-x64/be/lib/doris_be
### What You Expected?
官网解决冲突
### How to Reproduce?
从官网下载好的二进制压缩包(zvx2),解压后配置IP等常规参数后启动就会报错。
### Anything Else?
无
### 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
Re: [I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29122:
URL: https://github.com/apache/doris/issues/29122#issuecomment-3287228182
We're closing this issue because it hasn't been updated in a while.
If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!
--
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
Re: [I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
Posted by "Player-ghq (via GitHub)" <gi...@apache.org>.
Player-ghq commented on issue #29122:
URL: https://github.com/apache/doris/issues/29122#issuecomment-2348140074
the same issue
--
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
Re: [I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #29122: [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错
URL: https://github.com/apache/doris/issues/29122
--
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
Re: [I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
Posted by "Bhupendrsingh (via GitHub)" <gi...@apache.org>.
Bhupendrsingh commented on issue #29122:
URL: https://github.com/apache/doris/issues/29122#issuecomment-1876592518
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/apache_doris/fe/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/apache_doris/fe/lib/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/apache_doris/fe/lib/hive-catalog-shade-1.0.2.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]
[2024-01-04 12:47:14] notify new FE type transfer: UNKNOWN
[2024-01-04 12:47:14] notify new FE type transfer: MASTER
hi getting above error while starting the fe server
--
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
Re: [I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on issue #29122:
URL: https://github.com/apache/doris/issues/29122#issuecomment-1872552718
@ksdb1155228 could you please provide the new error message?
--
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
Re: [I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
Posted by "LemonLiTree (via GitHub)" <gi...@apache.org>.
LemonLiTree commented on issue #29122:
URL: https://github.com/apache/doris/issues/29122#issuecomment-1870024320
priorty_network 怎么配置 的
--
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
Re: [I] [Bug] 2.0.3版本因引入的jar包中slf4j冲突导致BE启动报错 [doris]
Posted by "ksdb1155228 (via GitHub)" <gi...@apache.org>.
ksdb1155228 commented on issue #29122:
URL: https://github.com/apache/doris/issues/29122#issuecomment-1870030235
> Priority_network怎么配置的
感谢回复,Priority_network 行尾有个特殊字符,修改后可以启动成功。
ps:依旧会报错冲突,但是可以使用。
--
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