Skip to content
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

MET-5947 flink version upgraded to 1.20 #2

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/build-docker-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo building flink-poc docker image that can be deployed on the openshift clust
#images
cd flink_java21
echo building :: flink java 21 base $(pwd)
docker build --no-cache -t flink:1.18.1-java21_poc .
docker build --no-cache -t flink:1.20.0-java21_poc .
cd ..
cd flink-node
echo building :: flink-node $(pwd)
Expand Down
2 changes: 1 addition & 1 deletion docker/flink-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM flink:1.18.1-java21_poc
FROM flink:1.20.0-java21_poc

MAINTAINER PSNC

Expand Down
16 changes: 8 additions & 8 deletions docker/flink_java21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ RUN set -ex; \
gosu nobody true

# Configure Flink version
ENV FLINK_TGZ_URL=https://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz \
FLINK_ASC_URL=https://downloads.apache.org/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz.asc \
GPG_KEY=96AE0E32CBE6E0753CE6DF6CB078D1D3253A8D82 \
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 \
GPG_KEY=B2D64016B940A7E0B9B72E0D7D0528B28037D8BC \
CHECK_GPG=true

# Prepare environment
Expand Down Expand Up @@ -81,11 +81,11 @@ RUN set -ex; \
chown -R flink:flink .; \
\
# Replace default REST/RPC endpoint bind address to use the container's network interface \
sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; \
sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/flink-conf.yaml;
sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/config.yaml; \
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;

# Configure container
COPY docker-entrypoint.sh /
Expand Down
2 changes: 1 addition & 1 deletion flinkPoCPG/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<flink-version>1.18.1</flink-version>
<flink-version>1.20.0</flink-version>
<metis.version>13-SNAPSHOT</metis.version>
<jackson.version>2.16.1</jackson.version>
<version.spring-framework>6.1.4</version.spring-framework>
Expand Down