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
[FLINK-12143] Pass configuration parameters to plugins manager (FS components) #8660
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
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.
@pnowojski I'm not really knowledgeable about the start scripts nor deployment unfortuantely. I still skimmed over them and didn't spot anything that looks wildly suspicious. I'm not entirely sold on migrating from |
Thanks @zentol. I just hoped that someone with more experience here might catch something that's not covered by our tests (like the Windows bat file bug that @1u0 has fixed).
I just wanted to have them unified. I personally preferred If you have some stronger preference the other way, we could change it the other direction. If not, I would vote for leaving it unified as it is to avoid an extra work. |
For me |
Oh we should definitely unify things. My gut feeling is that we should stick to But this is ultimately a minor thing that I wouldn't mind being decided by a coin-flip. |
The same concept of Flink's root/home directory was named in different places differently. This commit unifies the naming convention to FLINK_HOME by renaming FLINK_ROOT_DIR and FLINK_HOME_DIR to FLINK_HOME.
Previously exporting of variables like FLINK_CONF_DIR, FLINK_BIN_DIR, FLINK_LIB_DIR, ... was scattered or even dupliacted in multiple places. Now it happens only in config.sh.
…ling in FlinkDistributionOverlay
…DIR is distributed
…at for Windows (FLINK-12409)
…terns in class loading
Done. |
Thanks, merging :) |
What is the purpose of the change
This PR changes Flink distribution's starter scripts: defines new configuration environment parameter for plugins dir and passes the configuration to the plugins manager.
Currently, only file system components support the plugin manager, so related (to file system) end-to-end tests also have been modified to be loaded via the plugin manager.
Brief change log
flink-dist
have been modified, a newFLINK_HOME
environment variable replacesFLINK_ROOT_DIR
;Verifying this change
This change is already covered by existing tests, such as:
test_streaming_file_sink.sh
is modified to use hadoop fs via plugin mechanism;test_docker_embedded_job.sh
is modified to use dummy fs via plugin mechanism;test_yarn_kerberos_docker.sh
is modified to use dummy fs via plugin mechanism.Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes / no) (the distribution Flink scripts)Documentation