Skip to content
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] Error while trying to split key and value in configuration #4199

Open
3 tasks done
andystenhe opened this issue Mar 6, 2025 · 0 comments · May be fixed by #4200
Open
3 tasks done

[Bug] Error while trying to split key and value in configuration #4199

andystenhe opened this issue Mar 6, 2025 · 0 comments · May be fixed by #4200
Labels
bug Something isn't working

Comments

@andystenhe
Copy link

Search before asking

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

Java Version

11

Scala Version

2.12.x

StreamPark Version

2.1.5

Flink Version

1.19

Deploy mode

kubernetes-session

What happened

Flink config.yaml Parsing Error​
When using Flink versions greater than 1.19, the config.yaml file adopts a nested format as shown below:

# Example YAML
flink:
  checkpoint:
    interval: 60000
    mode: EXACTLY_ONCE
  parallelism: 4
  state:
    backend: rocksdb
    savepoints.dir: hdfs:///savepoints

StreamPark encountered errors while parsing the config.yaml file. The error logs are as follows:

16:41:15.967 [streampark-k8s-watching-thread-18] WARN org.apache.streampark.common.util.PropertiesUtils - [StreamPark] Error while trying to split key and value in configuration. 39 : rpc:
16:41:15.967 [streampark-k8s-watching-thread-18] WARN org.apache.streampark.common.util.PropertiesUtils - [StreamPark] Error while trying to split key and value in configuration. 51 : memory:
16:41:15.968 [streampark-k8s-watching-thread-18] WARN org.apache.streampark.common.util.PropertiesUtils - [StreamPark] Error while trying to split key and value in configuration. 52 : process:
16:41:15.968 [streampark-k8s-watching-thread-18] WARN org.apache.streampark.common.util.PropertiesUtils - [StreamPark] Error while trying to split key and value in configuration. 56 : execution:
16:41:15.968 [streampark-k8s-watching-thread-18] WARN org.apache.streampark.common.util.PropertiesUtils - [StreamPark] Error while trying to split key and value in configuration. 62 : taskmanager:

Error Exception


Screenshots

Image

Are you willing to submit PR?

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

Code of Conduct

@andystenhe andystenhe added the bug Something isn't working label Mar 6, 2025
andystenhe added a commit to andystenhe/streampark_fork that referenced this issue Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant