You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7ac6bc0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ All notable changes to this project will be documented in this file.
10
10
- Add `/ready` endpoint to the operator Deployment, which reports the CRD installation status ([#770]).
11
11
- Document that the Stackable Hive images restore the `get_table` and `get_table_objects_by_name` Thrift methods removed by HIVE-26537, and assert it in the smoke test ([#766]).
12
12
- Add support for Hive `4.2.1` ([#766], [#782]).
13
+
- The logs of the `containerdebug` process are now collected by the Vector agent and forwarded to
14
+
the Vector aggregator ([#790]).
13
15
- The metastore now has a default affinity to the OPA Pods when OPA authorization is configured ([#772]).
14
16
15
17
### Removed
@@ -53,6 +55,12 @@ All notable changes to this project will be documented in this file.
53
55
- The operator now watches all resources that it creates and early-exits the reconcile action when the
54
56
cluster is marked for deletion ([#754]).
55
57
- The operator now watches the `S3Connection` referenced by `spec.clusterConfig.s3.reference` ([#765]).
58
+
- The `containerdebug` process writes its log file again. The operator set
59
+
`CONTAINERDEBUG_LOG_DIRECTORY`, which containerdebug stopped reading in its version 0.2.0 when it
60
+
moved to `stackable-telemetry`; the directory is now set via `FILE_LOG_DIRECTORY`. The file is
61
+
rotated hourly and at most two files are kept, because rotation is opt-in ([#790]).
62
+
- The Vector unit tests run again. [#780] added a `test-config.yaml` argument to `test-vector.sh`
63
+
without adding the file, so since then the test run aborted before executing any case ([#790]).
Copy file name to clipboardExpand all lines: docs/modules/hive/pages/usage-guide/logging.adoc
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,4 +14,12 @@ spec:
14
14
enableVectorAgent: true
15
15
----
16
16
17
+
NOTE: The logs of the xref:concepts:observability/containerdebug.adoc[`containerdebug` process] are collected as well.
18
+
They are labelled `container: containerdebug`, although no such Kubernetes container exists.
19
+
The process runs in the background of the `hive` container.
20
+
The label comes from `/stackable/log/containerdebug`, the directory which the operator sets with the `FILE_LOG_DIRECTORY` environment variable and from which the Vector agent derives the container name.
21
+
Overriding `FILE_LOG_DIRECTORY` with `envOverrides` therefore changes how these logs are aggregated.
22
+
The agent only collects files one level below `/stackable/log`, so a sibling directory such as `/stackable/log/hive` relabels the events instead of dropping them, while any deeper or shallower path stops the aggregation.
23
+
A path outside `/stackable/log` also leaves the size-capped log volume.
24
+
17
25
Further information on how to configure logging, can be found in xref:concepts:logging.adoc[].
0 commit comments