-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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-11752] [dist] Move flink-python to opt #7843
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:
|
The test failure seems unrelated to this change. I retriggered the build. |
@flinkbot approve description consensus attention How does the |
@zentol I did not find any reference to the opt dependency in the Python streaming API docs. For the scripts, we have the following situation:
For what did we actually need the flink-python dependency in lib? Doesn't it look like user code from Flink's perspective? If the current approach for If we do need to have it in |
If From a technical perspective, yes, flink-python behaves like user-code. However, from a users-perspective it's part of the system; after all they never pass the jar. One also shouldn't expect python users to be aware of this distinction. |
But this means that it's unnecessary for users to copy the JAR to Actually, looking at |
I still think we shouldn't willy-nilly load classes from /opt; but if there's precedence go ahead and change the script as you suggested. |
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.
@flinkbot approve all
* [FLINK-11752] [dist] Move flink-python to opt * [FLINK-11752] [dist] Point pyflink scripts to opt
What is the purpose of the change
Move
flink-python
from/lib
to/opt
directory of distribution.Verifying this change
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: no