Skip to content

Commit 058029d

Browse files
fix(vector): Remove the Vector state directory (#1413)
1 parent 8c15623 commit 058029d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ All notable changes to this project will be documented in this file.
6464
- trino: Remove `451` and `476` ([#1403]).
6565
- hbase: Remove `2.6.2` ([#1408]).
6666
- spark: remove the JRE before installing the JDK to prevent version conflicts ([#1410]).
67+
- vector: Remove the Vector state directory `/stackable/vector/var` because the state should be
68+
persisted in the log directory ([#1413]).
6769
- spark: Remove `3.5.7` in ([#1414]) but restored in ([#1423]).
6870
- spark-connect-client: Remove `3.5.7` in ([#1414]) but restored in ([#1423]).
6971

@@ -106,9 +108,10 @@ All notable changes to this project will be documented in this file.
106108
[#1408]: https://github.com/stackabletech/docker-images/pull/1408
107109
[#1409]: https://github.com/stackabletech/docker-images/pull/1409
108110
[#1410]: https://github.com/stackabletech/docker-images/pull/1410
111+
[#1413]: https://github.com/stackabletech/docker-images/pull/1413
109112
[#1414]: https://github.com/stackabletech/docker-images/pull/1414
110-
[#1423]: https://github.com/stackabletech/docker-images/pull/1414
111113
[#1422]: https://github.com/stackabletech/docker-images/pull/1422
114+
[#1423]: https://github.com/stackabletech/docker-images/pull/1414
112115
[#1424]: https://github.com/stackabletech/docker-images/pull/1424
113116
[#1425]: https://github.com/stackabletech/docker-images/pull/1425
114117
[#1426]: https://github.com/stackabletech/docker-images/pull/1426

vector/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,6 @@ ARCH="${ARCH/arm64/aarch64}"
111111
rpm --install \
112112
"https://repo.stackable.tech/repository/packages/inotify-tools/inotify-tools-${INOTIFY_TOOLS}.${ARCH}.rpm"
113113

114-
# Create the directory /stackable/vector/var.
115-
# This directory is set by operator-rs in the parameter `data_dir`
116-
# of the Vector configuration. The directory is used for persisting
117-
# Vector state, such as on-disk buffers, file checkpoints, and more.
118-
# Vector needs write permissions.
119-
mkdir --parents /stackable/vector/var
120114
chown --recursive ${STACKABLE_USER_UID}:0 /stackable/
121115
# Set correct permissions
122116
chmod -R g=u /stackable

0 commit comments

Comments
 (0)