Skip to content

Conversation

@MehulBatra
Copy link
Contributor

@MehulBatra MehulBatra commented Feb 2, 2026

Purpose

Linked issue: close #2543

Brief change log

To build on flink standard image, while tiering
Mkdirs failed error is coming while writing iceberg data. The core issue is that the standard Flink image drops privileges, and user: "flink:root" doesn't prevent that.

Custom images with pre-modified entrypoints. For the
Standard Flink image to work, we need to replicate that, so we added a docker file to create an image.

Tests

API and Format

Documentation

@MehulBatra MehulBatra changed the title fix iceberg quickstart [doc/build] Fix iceberg quickstart to build on flink standard image Feb 2, 2026
Copy link
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MehulBatra Hi, thanks for your update. I left minor comments. PTAL

@@ -199,9 +222,8 @@ services:
datalake.iceberg.warehouse: /tmp/iceberg
volumes:
- shared-tmpfs:/tmp/iceberg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from flink 0.9, we will also need mount /tmp/fluss:

shared-tmpfs:/tmp/fluss

@@ -220,9 +242,11 @@ services:
datalake.iceberg.warehouse: /tmp/iceberg
volumes:
- shared-tmpfs:/tmp/iceberg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from flink 0.9, we will also need mount /tmp/fluss:

shared-tmpfs:/tmp/fluss

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is that, can you please help me understand?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the tablet server will need to access remote file in getLatestLakeSnapshot method

@MehulBatra
Copy link
Contributor Author

MehulBatra commented Feb 3, 2026

Also, @luoyuxia, the Iceberg version bump is working for me 1.10.1, and can you also have a quick test, then we can close this one too #2415, can you help me with this.

Copy link
Contributor

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MehulBatra Thanks for the update. Left minor comments. Otherwise, LGTM!

entrypoint: ["sh", "-c", "cp -v /tmp/lib/*.jar /opt/fluss/plugins/iceberg/ && exec /docker-entrypoint.sh coordinatorServer"]

- shared-tmpfs:/tmp/fluss
- ./lib/fluss-lake-iceberg-$FLUSS_DOCKER_VERSION$.jar:/opt/fluss/plugins/iceberg/fluss-lake-iceberg.jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
- ./lib/fluss-lake-iceberg-$FLUSS_DOCKER_VERSION$.jar:/opt/fluss/plugins/iceberg/fluss-lake-iceberg.jar
- ./lib/fluss-lake-iceberg-$FLUSS_DOCKER_VERSION$.jar:/opt/fluss/plugins/iceberg/fluss-lake-iceberg-$FLUSS_DOCKER_VERSION$.jar

?


- shared-tmpfs:/tmp/fluss
- ./lib/fluss-lake-iceberg-$FLUSS_DOCKER_VERSION$.jar:/opt/fluss/plugins/iceberg/fluss-lake-iceberg.jar
- ./lib/hadoop-apache-3.3.5-2.jar:/opt/fluss/plugins/iceberg/hadoop-apache.jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dito, to add version for the jar mounted in image?

@@ -220,9 +242,11 @@ services:
datalake.iceberg.warehouse: /tmp/iceberg
volumes:
- shared-tmpfs:/tmp/iceberg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the tablet server will need to access remote file in getLatestLakeSnapshot method

FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
taskmanager.numberOfTaskSlots: 10
taskmanager.memory.process.size: 2048m
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Update quickstart/building a streaming lake house

2 participants