diff --git a/README.md b/README.md index 8badeac..7fc0722 100644 --- a/README.md +++ b/README.md @@ -439,6 +439,10 @@ spec: # Qubership custom change: Qubership Custom volume mounts to support ReadOnlyRootFS - name: tmp mountPath: /tmp + - name: hue-logs + mountPath: /usr/share/hue/logs + - name: hadoop-conf + mountPath: /etc/hadoop/conf # Qubership custom change: Qubership Custom volume mounts for Qubership Hue from cert-manager secrets and extra user-defined mounts via Helm values {{- if .Values.certManagerInegration.enabled }} {{- range .Values.certManagerInegration.secretMounts }} @@ -511,6 +515,10 @@ spec: # Qubership custom change: Qubership Custom volume mounts to support ReadOnlyRootFS - name: tmp emptyDir: {} + - name: hue-logs + emptyDir: {} + - name: hadoop-conf + emptyDir: {} # Qubership custom change: Qubership custom volumes for config files, cert-manager secrets, and conditional integrations (Kerberos, SSL, LDAP) using Helm values {{- if .Values.certManagerInegration.enabled }} - name: {{.Values.certManagerInegration.secretName }}-volume diff --git a/chart/helm/hue/templates/hue/deployment-hue.yaml b/chart/helm/hue/templates/hue/deployment-hue.yaml index 9008157..cffc29e 100644 --- a/chart/helm/hue/templates/hue/deployment-hue.yaml +++ b/chart/helm/hue/templates/hue/deployment-hue.yaml @@ -106,6 +106,10 @@ spec: # Qubership custom change: Qubership Custom volume mounts to support ReadOnlyRootFS - name: tmp mountPath: /tmp + - name: hue-logs + mountPath: /usr/share/hue/logs + - name: hadoop-conf + mountPath: /etc/hadoop/conf # Qubership custom change: Qubership Custom volume mounts for Hue from cert-manager secrets and extra user-defined mounts via Helm values {{- if .Values.certManagerInegration.enabled }} {{- range .Values.certManagerInegration.secretMounts }} @@ -181,6 +185,10 @@ spec: # Qubership custom change: Qubership Custom volume mounts to support ReadOnlyRootFS - name: tmp emptyDir: {} + - name: hue-logs + emptyDir: {} + - name: hadoop-conf + emptyDir: {} # Qubership custom change: Qubership custom volumes for config files, cert-manager secrets, and conditional integrations (Kerberos, SSL, LDAP) using Helm values {{- if .Values.certManagerInegration.enabled }} - name: {{.Values.certManagerInegration.secretName }}-volume diff --git a/hue_docker/get_hive_conf.sh b/hue_docker/get_hive_conf.sh index 95588ed..86a7b09 100644 --- a/hue_docker/get_hive_conf.sh +++ b/hue_docker/get_hive_conf.sh @@ -27,7 +27,7 @@ AMBARIVariablesArray=( done echo "Start hadoop conf creation" -export TMP_HCC=~/tmp_hadoop_conf_creation +export TMP_HCC=/tmp/tmp_hadoop_conf_creation rm -rf $TMP_HCC mkdir $TMP_HCC