-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [ChunJun] optimize log #1400
Labels
bug
Something isn't working
Comments
FlechazoW
pushed a commit
that referenced
this issue
Nov 18, 2022
1 task
FlechazoW
added a commit
that referenced
this issue
Nov 18, 2022
ll076110
pushed a commit
that referenced
this issue
Mar 3, 2023
Paddy0523
pushed a commit
to Paddy0523/chunjun
that referenced
this issue
May 18, 2023
…tandalone,yarn-session,yarn-prejob (DTStack#1401) (cherry picked from commit eefae73) Co-authored-by: FlechazoW <35768015+FlechazoW@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
What happened
在服务器上非local模式,运行日志无法输出,提示日志框架冲突
[root@hadoop1 opt]# cp -r /opt/chunjun-master/chunjun-dist /opt/flink-1.12.7/lib/
[root@hadoop1 opt]# start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host hadoop1.
Starting taskexecutor daemon on host hadoop1.
[root@hadoop1 opt]# ll flink-1.12.7/log/
total 8
-rw-r--r--. 1 root root 1314 Nov 14 10:20 flink-root-standalonesession-3-hadoop1.out
-rw-r--r--. 1 root root 1316 Nov 14 10:20 flink-root-taskexecutor-3-hadoop1.out
[root@hadoop1 opt]# more flink-1.12.7/log/flink-root-standalonesession-3-hadoop1.out
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/flink-1.12.7/lib/chunjun-dist/chunjun-core.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/flink-1.12.7/lib/chunjun-dist/connector/hdfs/chunjun-connector-hdfs.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/flink-1.12.7/lib/chunjun-dist/connector/hive/chunjun-connector-hive.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/flink-1.12.7/lib/chunjun-dist/ddl/mysql/chunjun-ddl-mysql.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/flink-1.12.7/lib/chunjun-dist/restore-plugins/mysql/chunjun-restore-mysql.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/flink-1.12.7/lib/log4j-slf4j-impl-2.16.0.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]
log4j:WARN No appenders could be found for logger (org.apache.flink.runtime.entrypoint.ClusterEntrypoint).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
What you expected to happen
在非local模式下,运行日志能正常输出。
How to reproduce
按readme.md中步骤运行其中非local模式的示例
Anything else
对此问题原因、解决方法,记录在:https://my.oschina.net/kenzheng/blog/5593939
Version
master
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: