Program Packaging and Distributed Execution
To support execution from a packaged JAR file via the command line or web interface, a program must use the environment obtained by . This environment will act as the cluster’s environment when the JAR is submitted to the command line or web interface. If the Flink program is invoked differently than through these interfaces, the environment will act like a local environment.
Summary
The overall procedure to invoke a packaged program consists of two steps: