Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[incubator/druid] fix invalid default values.yaml configuration that crashes JVM #23121

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion incubator/druid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.18.1
description: Apache Druid is a high performance real-time analytics database.
name: druid
version: 0.2.8
version: 0.2.9
home: https://druid.apache.org/
icon: https://druid.apache.org/img/favicon.png
maintainers:
Expand Down
4 changes: 3 additions & 1 deletion incubator/druid/templates/historical/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ spec:
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- end }}
securityContext:
fsGroup: 1000
containers:
- name: druid
args: [ "historical" ]
Expand Down Expand Up @@ -97,7 +99,7 @@ spec:
- containerPort: {{ .Values.historical.port }}
name: http
volumeMounts:
- mountPath: /var/druid/
- mountPath: /opt/druid/var/druid/
name: data
{{- if .Values.gCloudStorage.enabled }}
- name: google-cloud-key
Expand Down
4 changes: 3 additions & 1 deletion incubator/druid/templates/middleManager/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ spec:
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- end }}
securityContext:
fsGroup: 1000
containers:
- name: druid
args: [ "middleManager" ]
Expand Down Expand Up @@ -97,7 +99,7 @@ spec:
- containerPort: {{ .Values.middleManager.port }}
name: http
volumeMounts:
- mountPath: /var/druid/
- mountPath: /opt/druid/var/druid/
elad-yosifon marked this conversation as resolved.
Show resolved Hide resolved
name: data
{{- if .Values.gCloudStorage.enabled }}
- name: google-cloud-key
Expand Down
2 changes: 1 addition & 1 deletion incubator/druid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ middleManager:
config:
DRUID_XMX: 64m
DRUID_XMS: 64m
druid_indexer_runner_javaOptsArray: '["-server", "--Xms256m", "-Xmx256m", "-XX:MaxDirectMemorySize=300m", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-XX:+ExitOnOutOfMemoryError", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]'
druid_indexer_runner_javaOptsArray: '["-server", "-Xms256m", "-Xmx256m", "-XX:MaxDirectMemorySize=300m", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-XX:+ExitOnOutOfMemoryError", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]'
druid_indexer_fork_property_druid_processing_buffer_sizeBytes: '25000000'

autoscaling:
Expand Down