zentol edited a comment on pull request #14630:
URL: https://github.com/apache/flink/pull/14630#issuecomment-761888056
> if someone downloads the binary distribution of Flink and tries to run it
on a VM, are they expected to set an appropriate [FLINK_]CLASSPATH variable?
To answer your example: No, it is generally not required. They may though,
if they want it to contain something specific that would not be put onto
classpath by the distribution on it's own. An example might be jars that are
put into a mounted directory.
As for why the kubernetes mode does it: It assembles a plain `java ...`
command, and uses `${FLINK_CLASSPATH}` as a placeholder for the jvm classpath
parameter (because the actual value is determined within the container, not on
the client-side), which is populated by the script.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]