-
Notifications
You must be signed in to change notification settings - Fork 211
Update Dockerfiles for 1.19.0 release #186
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
Conversation
MartijnVisser
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's good, left one comment to double check
| chown -R flink:flink .; \ | ||
| \ | ||
| # Replace default REST/RPC endpoint bind address to use the container's network interface \ | ||
| CONF_FILE="$FLINK_HOME/conf/flink-conf.yaml"; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still correct, given the new YAML parser?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good reminder! Seems there's a fallback logic here. I'll check the code and also dist package to verify it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked both the FLINK-33297 and FLIP-366, the default configuration file has been changed to config.yaml, but the script is compatible with the old flink-conf.yaml file.
This is FLIP-366's expected behavior (For compatibility reasons, in Flink 1.x, if the old configuration file flink-conf.yaml exists in the Flink conf directory, Flink will ignore the new configuration file and use the old parser to parse flink-conf.yaml as the Flink configuration. In Flink 2.x, Flink will no longer support parsing the old configuration file flink-conf.yaml).
lincoln-lil
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @MartijnVisser for reviewing this!
| chown -R flink:flink .; \ | ||
| \ | ||
| # Replace default REST/RPC endpoint bind address to use the container's network interface \ | ||
| CONF_FILE="$FLINK_HOME/conf/flink-conf.yaml"; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked both the FLINK-33297 and FLIP-366, the default configuration file has been changed to config.yaml, but the script is compatible with the old flink-conf.yaml file.
This is FLIP-366's expected behavior (For compatibility reasons, in Flink 1.x, if the old configuration file flink-conf.yaml exists in the Flink conf directory, Flink will ignore the new configuration file and use the old parser to parse flink-conf.yaml as the Flink configuration. In Flink 2.x, Flink will no longer support parsing the old configuration file flink-conf.yaml).
Uh oh!
There was an error while loading. Please reload this page.