Skip to content

Commit

Permalink
Merge branch 'MET-6328-sending-task-to-flink-sometimes-fails' into ME…
Browse files Browse the repository at this point in the history
…T-6155-start-flink-history-server
  • Loading branch information
Ruufuus committed Feb 26, 2025
2 parents fab368f + 9d3f328 commit d4d23ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions docker/flink-node-with-application/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
FROM flink-node-poc:latest

MAINTAINER PSNC

ENV FLINK_HOME=/opt/flink \
FLINK_VERSION=1.20.0 \
FLINK_S3_PRESTO_URL=https://repo1.maven.org/maven2/org/apache/flink/flink-s3-fs-presto/$FLINK_VERSION/flink-s3-fs-presto-$FLINK_VERSIONI.jar

COPY ./docker/flink-node-with-application/flink-connector-cassandra_2.12-3.1.0-1.17.jar /opt/flink/lib/
COPY ./docker/flink-node-with-application/metrics-core-3.0.2.jar /opt/flink/lib/
COPY ./flinkPoCPG/target/flink-poc-postgres.jar /opt/flink/lib/

RUN mkdir -p $FLINK_HOME/plugins/s3-fs-presto
RUN wget $FLINK_S3_PRESTO_URL -O $FLINK_HOME/plugins/s3-fs-presto/flink-s3-fs-presto-$FLINK_VERSION.jar
RUN chown -R flink:flink $FLINK_HOME/plugins
4 changes: 0 additions & 4 deletions docker/flink_java21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ RUN set -ex; \
# Configure Flink version
ENV FLINK_TGZ_URL=https://dlcdn.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz \
FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.20.0/flink-1.20.0-bin-scala_2.12.tgz.asc \
FLINK_S3_PRESTO_URL=https://repo1.maven.org/maven2/org/apache/flink/flink-s3-fs-presto/1.20.0/flink-s3-fs-presto-1.20.0.jar \
GPG_KEY=B2D64016B940A7E0B9B72E0D7D0528B28037D8BC \
CHECK_GPG=true

Expand Down Expand Up @@ -88,9 +87,6 @@ RUN set -ex; \
sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/config.yaml;

RUN mkdir -p $FLINK_HOME/plugins/s3-fs-presto
RUN wget $FLINK_S3_PRESTO_URL -O $FLINK_HOME/plugins/s3-fs-presto/flink-s3-fs-presto-1.20.0.jar
RUN chown -R flink:flink $FLINK_HOME/plugins

# Configure container
COPY docker-entrypoint.sh /
Expand Down

0 comments on commit d4d23ed

Please sign in to comment.