Skip to content

[Improvement] Get flinkClient error, the error is: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. #4220

@xinzhuxiansheng

Description

@xinzhuxiansheng

Search before asking

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

Java Version

jdk1.8

Scala Version

2.12.x

StreamPark Version

2.1.5

Flink Version

flink version 1.15.3

Deploy mode

kubernetes-application

What happened

I encountered a problem when upgrading the existing streampark environment 2.1.3 to version 2.1.5. As shown below, the log will continuously print "[StreamPark] Get flinkClient error, the error is: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.", and eventually the StreamPark service will trigger an OOM exception, causing the Pod to die. However, these exception logs cannot provide me with a basis for investigation. I think it must be optimized here, which can tell me which job caused it.

我在处理已有的 streampark 环境2.1.3,升级到 2.1.5 版本时遇到的问题,如下所示, log 会不断打印 “[StreamPark] Get flinkClient error, the error is: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. ”, 最终 StreamPark 服务会触发 OOM异常,而导致 Pod 死亡。 但是这些异常 log 无法给我提供排查依据,我想这里肯定优化它,它可以告诉我是哪个job引起的。

Error Exception

[StreamPark] Get flinkClient error, the error is: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.

Screenshots

Image

Are you willing to submit PR?

  • Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions