incubator-streampark icon indicating copy to clipboard operation
incubator-streampark copied to clipboard

[Bug] StreamX "Session Flink Cluster" cannot view flink log

Open yebukong opened this issue 3 years ago • 1 comments

Search before asking

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

What happened

When creating a flink k8s native session cluster with streamx, the Flink cluster can be started normally, but the log cannot be viewed. When viewing the mounting of Flink config, it is found that only the "flink-conf.yaml" file is mounted, and the "log4j-console.properties, logback-console.xml" file is missing . The same problem exists in the yarn session mode.

在用StreamX创建一个flink k8s native Session集群时,flink集群可以正常启动,但是日志无法查看,在查看flink config挂载情况时发现只挂载了"flink-conf.yaml"文件,缺失了"log4j-console.properties,logback-console.xml"文件。yarn session 模式也有相同的问题.

Recurrence steps: 1.Menu path : StreamX - Setting - Flink Cluster image 2.k8s native Session cluster Config image 3.cannot view jobmanager log image 4.jobmanager container std log image 5.flink config image

StreamX Version

1.2.3

Java Version

1.8

Flink Version

1.14.5

Scala Version of Flink

2.11

Error Exception

null

Screenshots

No response

Are you willing to submit PR?

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

Code of Conduct

yebukong avatar Aug 19 '22 11:08 yebukong

Thank you for your feedback, which is already being solved

wolfboys avatar Sep 05 '22 20:09 wolfboys

Thank you for your feedback, which is already being solved

@wolfboys

When creating a flink k8s native session cluster with streampark2.0.0 .This problem still exists.But flink yarn session can view logs normally. 上述问题在k8s native session模式下依然存在,不过flink yarn session下日志可以正常查看

StreamX Version : 2.0.0 Java Version : 1.8 Flink Version : 1.14.5 Scala Version of Flink : 2.11

image image image image image

yebukong avatar Nov 18 '22 08:11 yebukong