Ricardo Correia
03/31/2023, 5:00 PMFROM apache/flink-kubernetes-operator:1.4.0
ENV FLINK_PLUGINS_DIR=/opt/flink/plugins
COPY flink-s3-fs-hadoop-1.15.4.jar $FLINK_PLUGINS_DIR/s3-fs-hadoop/
COPY flink-s3-fs-presto-1.15.4.jar $FLINK_PLUGINS_DIR/s3-fs-presto/
And I can confirm that the pods of the operator contain these plugins.
The problem is that when I try to reference the JAR file that is in the S3 bucket:
job:
jarURI: '<s3://mybucket/flink-application-15.jar>'
In standalone deployment I get the following error in the JM:
Caused by: java.net.MalformedURLException: unknown protocol: s3
In a session job deployment I get the following error in the deployment:
The LocalStreamEnvironment cannot be used when submitting a program through a client, or running in a TestEnvironment context.
Has anyone faced a similar issue or knows why I’m getting this error?
🙏Martijn Visser
03/31/2023, 5:19 PMRicardo Correia
03/31/2023, 7:49 PMGyula Fóra
04/01/2023, 3:43 AMGyula Fóra
04/01/2023, 3:44 AMGyula Fóra
04/01/2023, 3:44 AMRicardo Correia
04/03/2023, 8:36 AMGyula Fóra
04/03/2023, 10:02 AMRicardo Correia
04/04/2023, 10:27 AMGyula Fóra
04/04/2023, 10:49 AMRicardo Correia
04/10/2023, 3:38 PM