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

[NU-1790] Flink 1.19 adaptations #194

Merged
merged 2 commits into from
Sep 24, 2024
Merged
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
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ services:
build:
context: ./flink/
args:
FLINK_VERSION: "1.18.1-scala_2.12-java11"
FLINK_VERSION: "1.19.1-scala_2.12-java11"
no_cache: true
restart: unless-stopped
command: jobmanager
Expand All @@ -246,7 +246,7 @@ services:
build:
context: ./flink/
args:
FLINK_VERSION: "1.18.1-scala_2.12-java11"
FLINK_VERSION: "1.19.1-scala_2.12-java11"
no_cache: true
restart: unless-stopped
command: taskmanager
Expand Down
3 changes: 2 additions & 1 deletion flink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ RUN echo '#!/bin/sh' > /ex-docker-entrypoint.sh && \
COPY --from=lib_provider /libs/ /opt/flink/lib/

USER flink
COPY flink-properties.yml /opt/flink/conf/
RUN mkdir -p /opt/flink/data && \
chmod -R 777 /opt/flink/data

COPY flink-properties.yml /opt/flink/conf/

VOLUME /opt/flink/data

ENTRYPOINT [ "/ex-docker-entrypoint.sh" ]
6 changes: 3 additions & 3 deletions flink/flink-properties.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
taskmanager.numberOfTaskSlots: 8

state.backend: filesystem
state.backend.type: filesystem
state.checkpoints.dir: file:///opt/flink/data/checkpoints
state.savepoints.dir: file:///opt/flink/data/savepoints

Expand All @@ -21,8 +21,8 @@ metrics.reporter.influxdb_reporter.port: 8087
metrics.reporter.influxdb_reporter.db: nussknacker_metrics
metrics.reporter.influxdb_reporter.scope.variables.excludes: tm_id;job_id;task_id;task_attempt_id;operator_id;task_attempt_num;task_name
metrics.scope.jm: local.<host>.jobmanagerGlobal
metrics.scope.jm.job: local.<host>.jobmanagerJob.<job_name>
metrics.scope.jm-job: local.<host>.jobmanagerJob.<job_name>
metrics.scope.tm: local.<host>.taskmanagerGlobal.<tm_id>
metrics.scope.tm.job: local.<host>.taskmanagerJob.<tm_id>.<job_name>
metrics.scope.tm-job: local.<host>.taskmanagerJob.<tm_id>.<job_name>
metrics.scope.task: local.<host>.taskmanagerTask.<tm_id>.<job_name>.<task_name>.<subtask_index>
metrics.scope.operator: local.<host>.taskmanagerTask.<tm_id>.<job_name>.<operator_name>.<subtask_index>
Loading