diff --git a/CHANGELOG.md b/CHANGELOG.md index 14ab94bfc..6cb9bbdb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ All notable changes to this project will be documented in this file. - trino: Remove `451` and `476` ([#1403]). - hbase: Remove `2.6.2` ([#1408]). - spark: remove the JRE before installing the JDK to prevent version conflicts ([#1410]). +- vector: Remove the Vector state directory `/stackable/vector/var` because the state should be + persisted in the log directory ([#1413]). ### Fixed @@ -89,6 +91,7 @@ All notable changes to this project will be documented in this file. [#1408]: https://github.com/stackabletech/docker-images/pull/1408 [#1409]: https://github.com/stackabletech/docker-images/pull/1409 [#1410]: https://github.com/stackabletech/docker-images/pull/1410 +[#1413]: https://github.com/stackabletech/docker-images/pull/1413 ## [25.11.0] - 2025-11-07 diff --git a/vector/Dockerfile b/vector/Dockerfile index 1f9cdd781..e0aa80620 100644 --- a/vector/Dockerfile +++ b/vector/Dockerfile @@ -111,12 +111,6 @@ ARCH="${ARCH/arm64/aarch64}" rpm --install \ "https://repo.stackable.tech/repository/packages/inotify-tools/inotify-tools-${INOTIFY_TOOLS}.${ARCH}.rpm" -# Create the directory /stackable/vector/var. -# This directory is set by operator-rs in the parameter `data_dir` -# of the Vector configuration. The directory is used for persisting -# Vector state, such as on-disk buffers, file checkpoints, and more. -# Vector needs write permissions. -mkdir --parents /stackable/vector/var chown --recursive ${STACKABLE_USER_UID}:0 /stackable/ # Set correct permissions chmod -R g=u /stackable