'Change metrics.properties in bitnami spark helm
I use bitnami spark helm to deploy spark on k8s. I want to change metrics.properties, I made config map and mount that to /opt/bitnami/spark/conf. I got this error:
mv: cannot move '/opt/bitnami/spark/conf/metrics.properties.template' to '/opt/bitnami/spark/conf/metrics.properties': Device or resource busy
What should I do?
Solution 1:[1]
I create image from bitnami spark Dockerfile and use my customized merics.properties and copy that in image with merics.properties.template.
Solution 2:[2]
Looks like it possible to mount custom config via configmap. See https://github.com/bitnami/charts/blob/master/bitnami/spark/values.yaml
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ali Rezvani |
| Solution 2 | leodotcloud |
